atualizar profile no drawer e vizualizar modal de seleção após desvincular local

This commit is contained in:
J. A. Messias 2024-12-09 08:21:01 -03:00
parent c73add1695
commit eec6df0951
2 changed files with 2 additions and 10 deletions

View File

@ -220,4 +220,5 @@ class _AppState extends State<App> {
),
);
}
}

View File

@ -215,16 +215,7 @@ class LocalsRemoteDataSourceImpl implements LocalsRemoteDataSource {
await StorageHelper().set(KeychainStorageKey.ownerName.value, '');
await StorageHelper().set(KeychainStorageKey.clientUUID.value, '');
context.pop();
context.go(
'/homePage',
extra: <String, dynamic>{
kTransitionInfoKey: const TransitionInfo(
hasTransition: true,
transitionType: PageTransitionType.scale,
alignment: Alignment.bottomCenter,
),
},
);
context.go('/homePage', extra: {'update': LocalsRepositoryImpl().update});
SnackBarUtil.showSnackBar(context, content);
}
}).catchError((err, stack) {