Skip to content

Commit fcc0d36

Browse files
committed
Fixed: Fix copy&paste error in areHardwareKeyboardShortcutsDisabled
Fixes 829cc39 ("Allow users to disable hardware keyboard shortcuts"). Reported-by: @amogusissofunnyhahalmaogenzhumorbelike
1 parent 077a149 commit fcc0d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

termux-shared/src/main/java/com/termux/shared/settings/properties/TermuxSharedProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ public static String getVolumeKeysBehaviourInternalPropertyValueFromValue(String
512512

513513

514514
public boolean areHardwareKeyboardShortcutsDisabled() {
515-
return (boolean) getInternalPropertyValue(TermuxPropertyConstants.KEY_DISABLE_TERMINAL_SESSION_CHANGE_TOAST, true);
515+
return (boolean) getInternalPropertyValue(TermuxPropertyConstants.KEY_DISABLE_HARDWARE_KEYBOARD_SHORTCUTS, true);
516516
}
517517

518518
public boolean areTerminalSessionChangeToastsDisabled() {

0 commit comments

Comments
 (0)