更新特殊处理测试账号
This commit is contained in:
@@ -718,11 +718,11 @@ Future<void> initLogin() async {
|
||||
if (userMap != null) {
|
||||
UserModel user = UserModel.fromJson(userMap);
|
||||
userInfoController.model.user = user;
|
||||
if (user.test != null && (user.test)!) {
|
||||
AppConstants.is_test_account = true;
|
||||
} else {
|
||||
AppConstants.is_test_account = false;
|
||||
}
|
||||
// if (user.test != null && (user.test)!) {
|
||||
// AppConstants.is_test_account = true;
|
||||
// } else {
|
||||
// AppConstants.is_test_account = false;
|
||||
// }
|
||||
}
|
||||
} catch (e) {
|
||||
print(e);
|
||||
|
||||
Reference in New Issue
Block a user