fix: Close confirmation dialog before downloading update

This commit is contained in:
Alberto Ponces 2022-09-14 12:30:53 +01:00
parent e117331159
commit 7d4e8b5eed
2 changed files with 5 additions and 2 deletions

View file

@ -23,7 +23,7 @@
"notificationTitle": "ReVanced Manager was updated!",
"notificationText": "Tap to open the app",
"downloadingMessage": "Downloading update!",
"installingMessage": "Installing update!",
"installingMessage": "Installing update... Hang on!",
"errorDownloadMessage": "Unable to download update!",
"errorInstallMessage": "Unable to download update!",
"noConnection": "No internet connection"

View file

@ -174,7 +174,10 @@ class HomeViewModel extends BaseViewModel {
),
CustomMaterialButton(
label: I18nText('okButton'),
onPressed: () => updateManager(context),
onPressed: () {
Navigator.of(context).pop();
updateManager(context);
},
)
],
),