Prechádzať zdrojové kódy

2.0.0.249修复发送loginheartrate的interval没有按照server配置的

felix 9 mesiacov pred
rodič
commit
2d3cbe7701
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      lib/infrastructure/user.dart

+ 1 - 1
lib/infrastructure/user.dart

@@ -139,7 +139,7 @@ class User {
 
   Future handleAfterLoginAsync({WSType type = WSType.Main}) async {
     try {
-      initNotificationConfigAsync(type: type);
+      await initNotificationConfigAsync(type: type);
       if (type == WSType.Main) {
         //第二屏无需心跳即检查FIS状态
         // 开启登录心跳