Skip to content

Commit

Permalink
fix: close previous dialog when user reset the API URL (#1025)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvanbhalara authored Jul 16, 2023
1 parent 2460acf commit 159c85b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ class SManageApiUrl extends BaseViewModel {
onPressed: () {
_managerAPI.setApiUrl('');
_toast.showBottom('settingsView.restartAppForChanges');
Navigator.of(context).pop();
Navigator.of(context)
..pop()
..pop();
},
)
],
Expand Down

0 comments on commit 159c85b

Please sign in to comment.