Skip to content

Commit

Permalink
Fixed: Fix copy&paste error in areHardwareKeyboardShortcutsDisabled
Browse files Browse the repository at this point in the history
Fixes 829cc39 ("Allow users to disable hardware keyboard
shortcuts").

Reported-by: @amogusissofunnyhahalmaogenzhumorbelike
  • Loading branch information
Grimler91 committed Dec 30, 2021
1 parent 077a149 commit fcc0d36
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ public static String getVolumeKeysBehaviourInternalPropertyValueFromValue(String


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() {
Expand Down

1 comment on commit fcc0d36

@agnostic-apollo
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn. It seems I already had disable-terminal-session-change-toast=true in termux.properties and that's why it worked when I tested the shortcuts disabled. Or maybe I accidentally undoed. Thanks regardless!

Please sign in to comment.