chore: change default submit key

This commit is contained in:
fred-bf 2024-01-25 15:17:16 +08:00 committed by Fred Liang
parent 04855de495
commit f619e9df24

View File

@ -28,7 +28,7 @@ export enum Theme {
export const DEFAULT_CONFIG = { export const DEFAULT_CONFIG = {
lastUpdate: Date.now(), // timestamp, to merge state lastUpdate: Date.now(), // timestamp, to merge state
submitKey: isMacOS() ? SubmitKey.MetaEnter : SubmitKey.CtrlEnter, submitKey: SubmitKey.Enter,
avatar: "1f603", avatar: "1f603",
fontSize: 14, fontSize: 14,
theme: Theme.Auto as Theme, theme: Theme.Auto as Theme,