feat: resetting source to default dismiss the sources pop-up (#797)

* feat: resetting source to default dismiss the sources pop-up

* chore: format using `dart format`
This commit is contained in:
EvadeMaster 2023-04-21 01:59:37 +07:00 committed by GitHub
parent d6918920b6
commit 62ef1c88fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,7 +155,9 @@ class SManageSources extends BaseViewModel {
_managerAPI.setPatchesRepo('');
_managerAPI.setIntegrationsRepo('');
_toast.showBottom('settingsView.restartAppForChanges');
Navigator.of(context).pop();
Navigator.of(context)
..pop()
..pop();
},
)
],