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.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) {
|
||||||
|
|
Loading…
Reference in New Issue