mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 02:57:22 +00:00
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:
@@ -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 = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user