1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Made search shortcut optional

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-01-17 16:44:29 +01:00
parent 8853508363
commit e7384f829a
3 changed files with 7 additions and 1 deletions

View File

@ -420,7 +420,7 @@ class LoggedInView extends React.Component<IProps, IState> {
}
break;
case Key.F:
if (ctrlCmdOnly) {
if (ctrlCmdOnly && SettingsStore.getValue("ctrlFForSearch")) {
dis.dispatch({
action: 'focus_search',
});