aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/android
diff options
context:
space:
mode:
authort895 <[email protected]>2024-02-18 09:23:30 -0500
committert895 <[email protected]>2024-02-18 09:23:46 -0500
commit55a781506461f84a5fef8e8db4cc24ba15aa5230 (patch)
treec8401dd07c61a6a4f356698900bf3f5f4a434107 /src/android
parentbdf8aca7509534f817644ce05e95d5f5c1f53941 (diff)
downloadyuzu-android-55a781506461f84a5fef8e8db4cc24ba15aa5230.tar.gz
yuzu-android-55a781506461f84a5fef8e8db4cc24ba15aa5230.zip
android: Show cancel button for the content install notice
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
index d16f8a931..757463a0b 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
@@ -498,7 +498,8 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
this@MainActivity,
titleId = R.string.content_install_notice,
descriptionId = R.string.content_install_notice_description,
- positiveAction = { homeViewModel.setContentToInstall(documents) }
+ positiveAction = { homeViewModel.setContentToInstall(documents) },
+ negativeAction = {}
)
}
}.show(supportFragmentManager, ProgressDialogFragment.TAG)