Apply prettier formatting
This commit is contained in:
parent
1cac306093
commit
526645c791
1576 changed files with 65385 additions and 62478 deletions
|
@ -19,11 +19,7 @@ import { IS_MAC, Key } from "./Keyboard";
|
|||
import SettingsStore from "./settings/SettingsStore";
|
||||
import SdkConfig from "./SdkConfig";
|
||||
import { IKeyBindingsProvider, KeyBinding } from "./KeyBindingsManager";
|
||||
import {
|
||||
CATEGORIES,
|
||||
CategoryName,
|
||||
KeyBindingAction,
|
||||
} from "./accessibility/KeyboardShortcuts";
|
||||
import { CATEGORIES, CategoryName, KeyBindingAction } from "./accessibility/KeyboardShortcuts";
|
||||
import { getKeyboardShortcuts } from "./accessibility/KeyboardShortcutUtils";
|
||||
|
||||
export const getBindingsByCategory = (category: CategoryName): KeyBinding[] => {
|
||||
|
@ -39,7 +35,7 @@ export const getBindingsByCategory = (category: CategoryName): KeyBinding[] => {
|
|||
const messageComposerBindings = (): KeyBinding[] => {
|
||||
const bindings = getBindingsByCategory(CategoryName.COMPOSER);
|
||||
|
||||
if (SettingsStore.getValue('MessageComposerInput.ctrlEnterToSend')) {
|
||||
if (SettingsStore.getValue("MessageComposerInput.ctrlEnterToSend")) {
|
||||
bindings.push({
|
||||
action: KeyBindingAction.SendMessage,
|
||||
keyCombo: {
|
||||
|
@ -128,7 +124,7 @@ const roomListBindings = (): KeyBinding[] => {
|
|||
const roomBindings = (): KeyBinding[] => {
|
||||
const bindings = getBindingsByCategory(CategoryName.ROOM);
|
||||
|
||||
if (SettingsStore.getValue('ctrlFForSearch')) {
|
||||
if (SettingsStore.getValue("ctrlFForSearch")) {
|
||||
bindings.push({
|
||||
action: KeyBindingAction.SearchInRoom,
|
||||
keyCombo: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue