|
@@ -61,6 +61,7 @@ class UserInfoNotifier with ChangeNotifier { |
|
|
await SharedPreferencesUtil.setStringValue(GlobalConfig.SHARED_KEY_TOKEN, loginUser.token); |
|
|
await SharedPreferencesUtil.setStringValue(GlobalConfig.SHARED_KEY_TOKEN, loginUser.token); |
|
|
await SharedPreferencesUtil.setStringValue(GlobalConfig.SHARED_KEY_MOBILE, loginUser.mobile); |
|
|
await SharedPreferencesUtil.setStringValue(GlobalConfig.SHARED_KEY_MOBILE, loginUser.mobile); |
|
|
await SharedPreferencesUtil.setStringValue(GlobalConfig.SHARED_KEY_USER_INFO, jsonEncode(loginUser.toJson())); |
|
|
await SharedPreferencesUtil.setStringValue(GlobalConfig.SHARED_KEY_USER_INFO, jsonEncode(loginUser.toJson())); |
|
|
|
|
|
FlutterAlibc.loginOut(); |
|
|
notifyListeners(); |
|
|
notifyListeners(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|