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.ownerName.value, '');
await StorageHelper().set(KeychainStorageKey.clientUUID.value, ''); await StorageHelper().set(KeychainStorageKey.clientUUID.value, '');
context.pop(); context.pop();
context.go( context.go('/homePage', extra: {'update': LocalsRepositoryImpl().update});
'/homePage',
extra: <String, dynamic>{
kTransitionInfoKey: const TransitionInfo(
hasTransition: true,
transitionType: PageTransitionType.scale,
alignment: Alignment.bottomCenter,
),
},
);
SnackBarUtil.showSnackBar(context, content); SnackBarUtil.showSnackBar(context, content);
} }
}).catchError((err, stack) { }).catchError((err, stack) {