diff options
author | t895 <[email protected]> | 2024-02-18 09:23:30 -0500 |
---|---|---|
committer | t895 <[email protected]> | 2024-02-18 09:23:46 -0500 |
commit | 55a781506461f84a5fef8e8db4cc24ba15aa5230 (patch) | |
tree | c8401dd07c61a6a4f356698900bf3f5f4a434107 /src/android | |
parent | bdf8aca7509534f817644ce05e95d5f5c1f53941 (diff) | |
download | yuzu-mainline-55a781506461f84a5fef8e8db4cc24ba15aa5230.tar.gz yuzu-mainline-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.kt | 3 |
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) |