diff --git a/android/app/build.gradle b/android/app/build.gradle index 7854cd64..4a17f4f2 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -71,7 +71,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // ReVanced - implementation "app.revanced:revanced-patcher:12.0.0" + implementation "app.revanced:revanced-patcher:12.1.0" // Signing & aligning implementation("org.bouncycastle:bcpkix-jdk15on:1.70") diff --git a/lib/ui/widgets/settingsView/settings_export_section.dart b/lib/ui/widgets/settingsView/settings_export_section.dart index 73d0f974..e4881a09 100644 --- a/lib/ui/widgets/settingsView/settings_export_section.dart +++ b/lib/ui/widgets/settingsView/settings_export_section.dart @@ -73,10 +73,12 @@ class SExportSection extends StatelessWidget { ), ), subtitle: I18nText('settingsView.importKeystoreHint'), - onTap: () { - _settingsViewModel.importKeystore(); + onTap: () async{ + await _settingsViewModel.importKeystore(); final sManageKeystorePassword = SManageKeystorePassword(); - sManageKeystorePassword.showKeystoreDialog(context); + if(context.mounted){ + sManageKeystorePassword.showKeystoreDialog(context); + } }, ), ListTile( diff --git a/pubspec.yaml b/pubspec.yaml index ff85109c..c2453aa3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ homepage: https://github.com/revanced/revanced-manager publish_to: 'none' -version: 1.5.0+100400004 +version: 1.5.1+100400005 environment: sdk: '>=3.0.0 <4.0.0'