|
|
|
@ -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")); |
|
|
|
|