Implemented auto backup ()

This commit is contained in:
Alex 2022-02-07 23:42:35 -06:00 committed by GitHub
parent 2a4d4ea999
commit 919928ab70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10715 additions and 31 deletions
mobile/lib/modules/home/ui

View file

@ -56,10 +56,9 @@ class ProfileDrawer extends ConsumerWidget {
onTap: () async {
bool res = await ref.read(authenticationProvider.notifier).logout();
ref.read(assetProvider.notifier).clearAllAsset();
if (res) {
AutoRouter.of(context).popUntilRoot();
ref.read(assetProvider.notifier).clearAllAsset();
}
},
)