ab:deal push error, show error banner, fix splash empty by remove reset

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-08-13 14:46:04 +08:00
parent 5112398ad3
commit b2f5e2f927
40 changed files with 262 additions and 98 deletions

View File

@@ -87,7 +87,7 @@ class UserModel {
Future<void> reset({bool clearAbCache = false}) async {
await bind.mainSetLocalOption(key: 'access_token', value: '');
await bind.mainSetLocalOption(key: 'user_info', value: '');
await gFFI.abModel.reset(clearCache: clearAbCache);
if (clearAbCache) await bind.mainClearAb();
await gFFI.groupModel.reset();
userName.value = '';
}