mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: Close confirmation dialog before downloading update
This commit is contained in:
parent
e117331159
commit
7d4e8b5eed
@ -23,7 +23,7 @@
|
|||||||
"notificationTitle": "ReVanced Manager was updated!",
|
"notificationTitle": "ReVanced Manager was updated!",
|
||||||
"notificationText": "Tap to open the app",
|
"notificationText": "Tap to open the app",
|
||||||
"downloadingMessage": "Downloading update!",
|
"downloadingMessage": "Downloading update!",
|
||||||
"installingMessage": "Installing update!",
|
"installingMessage": "Installing update... Hang on!",
|
||||||
"errorDownloadMessage": "Unable to download update!",
|
"errorDownloadMessage": "Unable to download update!",
|
||||||
"errorInstallMessage": "Unable to download update!",
|
"errorInstallMessage": "Unable to download update!",
|
||||||
"noConnection": "No internet connection"
|
"noConnection": "No internet connection"
|
||||||
|
@ -174,7 +174,10 @@ class HomeViewModel extends BaseViewModel {
|
|||||||
),
|
),
|
||||||
CustomMaterialButton(
|
CustomMaterialButton(
|
||||||
label: I18nText('okButton'),
|
label: I18nText('okButton'),
|
||||||
onPressed: () => updateManager(context),
|
onPressed: () {
|
||||||
|
Navigator.of(context).pop();
|
||||||
|
updateManager(context);
|
||||||
|
},
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user