Firefox: Disable Saved Messages shortcut (#4249)
This commit is contained in:
parent
9ee90020dc
commit
13f436861d
@ -11,7 +11,7 @@ import { selectCurrentChat, selectIsForumPanelOpen, selectTabState } from '../..
|
||||
import captureEscKeyListener from '../../util/captureEscKeyListener';
|
||||
import { captureControlledSwipe } from '../../util/swipeController';
|
||||
import {
|
||||
IS_APP, IS_MAC_OS, IS_TOUCH_ENV, LAYERS_ANIMATION_NAME,
|
||||
IS_APP, IS_FIREFOX, IS_MAC_OS, IS_TOUCH_ENV, LAYERS_ANIMATION_NAME,
|
||||
} from '../../util/windowEnvironment';
|
||||
|
||||
import useFoldersReducer from '../../hooks/reducers/useFoldersReducer';
|
||||
@ -406,7 +406,10 @@ function LeftColumn({
|
||||
|
||||
useHotkeys({
|
||||
'Mod+Shift+F': handleHotkeySearch,
|
||||
'Mod+Shift+S': handleHotkeySavedMessages,
|
||||
// https://support.mozilla.org/en-US/kb/take-screenshots-firefox
|
||||
...(!IS_FIREFOX && {
|
||||
'Mod+Shift+S': handleHotkeySavedMessages,
|
||||
}),
|
||||
...(IS_APP && {
|
||||
'Mod+0': handleHotkeySavedMessages,
|
||||
'Mod+9': handleArchivedChats,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user