Browse Source

socketclient remove reconnect time

wr_202303
zsw 4 months ago
parent
commit
2db144584f
  1. 4
      lib/im/chat_details_page.dart

4
lib/im/chat_details_page.dart

@ -132,6 +132,10 @@ class _ChatDetailsPage extends State<ChatDetailsPage>
value.getString('user') != null &&
value.getString('user') != "") {
userInfo = UserInfo.fromJson(jsonDecode(value.getString('user')));
if (userInfo.phone?.isNotEmpty ?? false) {
setState(() {});
return;
}
}
if (apiService == null)
apiService = ApiService(Dio(), context: context, token: value.getString("token"));

Loading…
Cancel
Save