mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-30 05:43:00 -08:00
Fix magikeyboard selection
This commit is contained in:
1 parent
f9bb70f395
commit
7d356d1e34
1 file changed
+5
-4
@@ -135,10 +135,11 @@ object EntrySelectionHelper {
|
||||
}
|
||||
if (!assistStructureInit) {
|
||||
if (intent.getSerializableExtra(KEY_SPECIAL_MODE) != null) {
|
||||
val typeMode = retrieveTypeModeFromIntent(intent)
|
||||
removeModesFromIntent(intent)
|
||||
when (typeMode) {
|
||||
TypeMode.DEFAULT -> defaultAction.invoke(searchInfo)
|
||||
when (retrieveTypeModeFromIntent(intent)) {
|
||||
TypeMode.DEFAULT -> {
|
||||
removeModesFromIntent(intent)
|
||||
defaultAction.invoke(searchInfo)
|
||||
}
|
||||
TypeMode.MAGIKEYBOARD -> keyboardSelectionAction.invoke(searchInfo)
|
||||
else -> {
|
||||
// In this case, error
|
||||
|
||||
Reference in new issue
Block a user