diff --git a/assets/i18n/en.json b/assets/i18n/en.json index 84d457b3..80dab204 100644 --- a/assets/i18n/en.json +++ b/assets/i18n/en.json @@ -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" diff --git a/lib/ui/views/home/home_viewmodel.dart b/lib/ui/views/home/home_viewmodel.dart index 604b53ca..78180a22 100644 --- a/lib/ui/views/home/home_viewmodel.dart +++ b/lib/ui/views/home/home_viewmodel.dart @@ -174,7 +174,10 @@ class HomeViewModel extends BaseViewModel { ), CustomMaterialButton( label: I18nText('okButton'), - onPressed: () => updateManager(context), + onPressed: () { + Navigator.of(context).pop(); + updateManager(context); + }, ) ], ),