mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-16 12:17:26 +01:00
android: Fix check for ok text in software keyboard
This commit is contained in:
1 parent
9d11e03d61
commit
40d7b3724b
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user