Przeglądaj źródła

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

felix 10 miesięcy temu
rodzic
commit
2d3cbe7701
1 zmienionych plików z 1 dodań i 1 usunięć
  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状态
         // 开启登录心跳