mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 14:41:24 +08:00
format imports
This commit is contained in:
parent
f5136a0adb
commit
03c8b6b5b4
@ -1,3 +1,8 @@
|
|||||||
|
import { DefaultPreferences } from '@shared/data/preference/preferenceSchemas'
|
||||||
|
import type { PreferenceShortcutType } from '@shared/data/preference/preferenceTypes'
|
||||||
|
|
||||||
|
import type { ShortcutDefinition, ShortcutPreferenceValue } from './types'
|
||||||
|
|
||||||
const modifierKeys = ['CommandOrControl', 'Ctrl', 'Alt', 'Shift', 'Meta', 'Command']
|
const modifierKeys = ['CommandOrControl', 'Ctrl', 'Alt', 'Shift', 'Meta', 'Command']
|
||||||
const specialSingleKeys = ['Escape', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12']
|
const specialSingleKeys = ['Escape', 'F1', 'F2', 'F3', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9', 'F10', 'F11', 'F12']
|
||||||
|
|
||||||
@ -130,7 +135,3 @@ export const coerceShortcutPreference = (
|
|||||||
system: ensureBoolean(value?.system, fallback.system)
|
system: ensureBoolean(value?.system, fallback.system)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
import { DefaultPreferences } from '@shared/data/preference/preferenceSchemas'
|
|
||||||
import type { PreferenceShortcutType } from '@shared/data/preference/preferenceTypes'
|
|
||||||
|
|
||||||
import type { ShortcutDefinition, ShortcutPreferenceValue } from './types'
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user