summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar t8952024-02-18 09:23:30 -0500
committerGravatar t8952024-02-18 09:23:46 -0500
commit55a781506461f84a5fef8e8db4cc24ba15aa5230 (patch)
treec8401dd07c61a6a4f356698900bf3f5f4a434107 /src
parentMerge pull request #13047 from anpilley/import-firmware (diff)
downloadyuzu-55a781506461f84a5fef8e8db4cc24ba15aa5230.tar.gz
yuzu-55a781506461f84a5fef8e8db4cc24ba15aa5230.tar.xz
yuzu-55a781506461f84a5fef8e8db4cc24ba15aa5230.zip
android: Show cancel button for the content install notice
Diffstat (limited to 'src')
-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 {
498 this@MainActivity, 498 this@MainActivity,
499 titleId = R.string.content_install_notice, 499 titleId = R.string.content_install_notice,
500 descriptionId = R.string.content_install_notice_description, 500 descriptionId = R.string.content_install_notice_description,
501 positiveAction = { homeViewModel.setContentToInstall(documents) } 501 positiveAction = { homeViewModel.setContentToInstall(documents) },
502 negativeAction = {}
502 ) 503 )
503 } 504 }
504 }.show(supportFragmentManager, ProgressDialogFragment.TAG) 505 }.show(supportFragmentManager, ProgressDialogFragment.TAG)