do not update shift state automatically after pressing Shift

This commit is contained in:
tibbi 2022-01-18 09:07:35 +01:00
parent 21de46fc1d
commit 945c82402a
2 changed files with 5 additions and 2 deletions

View File

@ -42,5 +42,5 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:06b9306331'
implementation 'com.github.SimpleMobileTools:Simple-Commons:db3561b188'
}

View File

@ -151,7 +151,10 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL
}
}
}
updateShiftKeyState()
if (primaryCode != MyKeyboard.KEYCODE_SHIFT) {
updateShiftKeyState()
}
}
override fun onText(text: CharSequence?) {}