summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-18 16:25:04 +0100
committerGitHub <noreply@github.com>2024-02-18 16:25:04 +0100
commit839ded7d595609cb17643ce4841e3b80c04440b5 (patch)
tree15415b44f113212a6a15693d92e0d112d46c10a9
parentMerge pull request #13066 from t895/touch-fix (diff)
parentandroid: Show cancel button for the content install notice (diff)
downloadyuzu-839ded7d595609cb17643ce4841e3b80c04440b5.tar
yuzu-839ded7d595609cb17643ce4841e3b80c04440b5.tar.gz
yuzu-839ded7d595609cb17643ce4841e3b80c04440b5.tar.bz2
yuzu-839ded7d595609cb17643ce4841e3b80c04440b5.tar.lz
yuzu-839ded7d595609cb17643ce4841e3b80c04440b5.tar.xz
yuzu-839ded7d595609cb17643ce4841e3b80c04440b5.tar.zst
yuzu-839ded7d595609cb17643ce4841e3b80c04440b5.zip
-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)