mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-30 05:43:00 -08:00
Fix special mode title
This commit is contained in:
1 parent
83783c1a88
commit
379fbf68b1
1 file changed
+5
-5
@@ -40,11 +40,11 @@ abstract class SpecialModeActivity : StylishActivity() {
|
||||
specialModeView = findViewById(R.id.special_mode_view)
|
||||
specialModeView?.apply {
|
||||
// Populate title
|
||||
title = if (mAutofillSelection) {
|
||||
"${resources.getString(R.string.selection_mode)} (${getString(R.string.autofill)})"
|
||||
} else {
|
||||
getString(R.string.magic_keyboard_title)
|
||||
}
|
||||
val typeModeId = if (mAutofillSelection)
|
||||
R.string.autofill
|
||||
else
|
||||
R.string.magic_keyboard_title
|
||||
title = "${resources.getString(R.string.selection_mode)} (${getString(typeModeId)})"
|
||||
// Populate subtitle
|
||||
subtitle = searchInfo?.getName(resources)
|
||||
|
||||
|
||||
Reference in new issue
Block a user