summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-04-03 04:24:14 +0200
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:48 +0200
commitc0aa5392b9a4ceda34bf2014357ed2664718ab84 (patch)
treec2ffb3889a42a80eb3dd242162e51e48a5b911ca /src/android
parentandroid: Implement amiibo reading from nfc tag (diff)
downloadyuzu-c0aa5392b9a4ceda34bf2014357ed2664718ab84.tar
yuzu-c0aa5392b9a4ceda34bf2014357ed2664718ab84.tar.gz
yuzu-c0aa5392b9a4ceda34bf2014357ed2664718ab84.tar.bz2
yuzu-c0aa5392b9a4ceda34bf2014357ed2664718ab84.tar.lz
yuzu-c0aa5392b9a4ceda34bf2014357ed2664718ab84.tar.xz
yuzu-c0aa5392b9a4ceda34bf2014357ed2664718ab84.tar.zst
yuzu-c0aa5392b9a4ceda34bf2014357ed2664718ab84.zip
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt
index 2428bd261..4b12809bc 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/applets/keyboard/ui/KeyboardDialogFragment.kt
@@ -63,7 +63,7 @@ class KeyboardDialogFragment : DialogFragment() {
val headerText =
config.header_text!!.ifEmpty { resources.getString(R.string.software_keyboard) }
val okText =
- if (config.header_text!!.isEmpty()) resources.getString(android.R.string.ok) else config.ok_text!!
+ config.ok_text!!.ifEmpty { resources.getString(android.R.string.ok) }
return MaterialAlertDialogBuilder(requireContext())
.setTitle(headerText)