mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix obvious bug"
This commit is contained in:
commit
71a14420d8
@ -124,20 +124,17 @@ public class KeyboardId {
|
||||
return mElementId < ELEMENT_SYMBOLS;
|
||||
}
|
||||
|
||||
// This should be aligned with {@link KeyboardShiftState#isShiftLocked}.
|
||||
public boolean isAlphabetShiftLockedKeyboard() {
|
||||
return mElementId == ELEMENT_ALPHABET_SHIFT_LOCKED
|
||||
|| mElementId == ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED;
|
||||
}
|
||||
|
||||
// This should be aligned with {@link KeyboardShiftState#isShiftedOrShiftLocked}.
|
||||
public boolean isAlphabetShiftedOrShiftLockedKeyboard() {
|
||||
return isAlphabetKeyboard() && mElementId != ELEMENT_ALPHABET;
|
||||
}
|
||||
|
||||
// This should be aligned with {@link KeyboardShiftState#isManualShifted}.
|
||||
public boolean isAlphabetManualShiftedKeyboard() {
|
||||
return mElementId != ELEMENT_ALPHABET_MANUAL_SHIFTED;
|
||||
return mElementId == ELEMENT_ALPHABET_MANUAL_SHIFTED;
|
||||
}
|
||||
|
||||
public boolean isSymbolsKeyboard() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user