atualizar profile no drawer e vizualizar modal de seleção após desvincular local
This commit is contained in:
parent
c73add1695
commit
eec6df0951
|
@ -220,4 +220,5 @@ class _AppState extends State<App> {
|
|||
),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue