mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
fix: Close confirmation dialog before downloading update
This commit is contained in:
parent
e117331159
commit
7d4e8b5eed
2 changed files with 5 additions and 2 deletions
|
@ -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"
|
||||
|
|
|
@ -174,7 +174,10 @@ class HomeViewModel extends BaseViewModel {
|
|||
),
|
||||
CustomMaterialButton(
|
||||
label: I18nText('okButton'),
|
||||
onPressed: () => updateManager(context),
|
||||
onPressed: () {
|
||||
Navigator.of(context).pop();
|
||||
updateManager(context);
|
||||
},
|
||||
)
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue