Merge pull request #653 from ente-io/session-expired-bug
close settings drawer on autoLogOut
This commit is contained in:
commit
c96923e8c9
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ class _HomeWidgetState extends State<HomeWidget> {
|
|||
),
|
||||
onPressed: () async {
|
||||
Navigator.of(context, rootNavigator: true).pop('dialog');
|
||||
Navigator.of(context).popUntil((route) => route.isFirst);
|
||||
final dialog = createProgressDialog(context, "Logging out...");
|
||||
await dialog.show();
|
||||
await Configuration.instance.logout();
|
||||
|
|
Loading…
Add table
Reference in a new issue