fix: disable shift after any typed character

This commit is contained in:
James Whyte 2026-01-23 16:29:08 +00:00
parent 3ce11f14ce
commit 93ea23168b

View File

@ -130,8 +130,8 @@ void KeyboardEntryActivity::handleKeyPress() {
if (maxLength == 0 || text.length() < maxLength) {
text += c;
// Auto-disable shift after typing a letter
if (shiftActive && ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'))) {
// Auto-disable shift after typing a character
if (shiftActive) {
shiftActive = false;
}
}