Skip to content

Commit 2be96d3

Browse files
committed
Fix default value
1 parent 34f48f9 commit 2be96d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ var defaultConfig = &Config{
108108
AutoUpdateEnabled: true, // Set a default value
109109
ActiveExtension: "",
110110
KeyboardMacros: []KeyboardMacro{},
111-
KeyboardLayout: "en-US",
111+
KeyboardLayout: "en_US",
112112
DisplayMaxBrightness: 64,
113113
DisplayDimAfterSec: 120, // 2 minutes
114114
DisplayOffAfterSec: 1800, // 30 minutes

ui/src/hooks/stores.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ export const useDeviceSettingsStore = create<DeviceSettingsState>(set => ({
400400
});
401401
},
402402

403-
keyboardLayout: "en-US",
403+
keyboardLayout: "en_US",
404404
setKeyboardLayout: layout => set({ keyboardLayout: layout }),
405405
}));
406406

0 commit comments

Comments
 (0)