yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

android: Fix check for ok text in software keyboard

This commit is contained in:
Charles Lombardo 2023-04-02 22:24:14 -04:00 committed by bunnei
parent ca4be4283d
commit c0aa5392b9
1 changed files with 1 additions and 1 deletions

View File

@ -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)