Implemented bottom app bar with control buttons for asset's operation ()

This commit is contained in:
Alex 2022-02-09 12:41:02 -06:00 committed by GitHub
parent b04e69fd66
commit f578ca6d47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 252 additions and 55 deletions
mobile/lib/modules/home/ui

View file

@ -57,8 +57,8 @@ class ProfileDrawer extends ConsumerWidget {
bool res = await ref.read(authenticationProvider.notifier).logout();
if (res) {
ref.watch(assetProvider.notifier).clearAllAsset();
AutoRouter.of(context).popUntilRoot();
ref.read(assetProvider.notifier).clearAllAsset();
}
},
)