Fixed: Fix copy&paste error in areHardwareKeyboardShortcutsDisabled

Fixes 829cc39868 ("Allow users to disable hardware keyboard
shortcuts").

Reported-by: @amogusissofunnyhahalmaogenzhumorbelike
This commit is contained in:
Henrik Grimler
2021-12-30 21:56:09 +01:00
committed by agnostic-apollo
parent 6d60bc669b
commit 6e6da752bd

View File

@@ -512,7 +512,7 @@ public abstract class TermuxSharedProperties {
public boolean areHardwareKeyboardShortcutsDisabled() {
return (boolean) getInternalPropertyValue(TermuxPropertyConstants.KEY_DISABLE_TERMINAL_SESSION_CHANGE_TOAST, true);
return (boolean) getInternalPropertyValue(TermuxPropertyConstants.KEY_DISABLE_HARDWARE_KEYBOARD_SHORTCUTS, true);
}
public boolean areTerminalSessionChangeToastsDisabled() {