mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Set global media hotkeys enabled by default
This commit is contained in:
+1
-1
@@ -273,7 +273,7 @@ const createWindow = async () => {
|
||||
|
||||
const globalMediaKeysEnabled = store.get('global_media_hotkeys') as boolean;
|
||||
|
||||
if (globalMediaKeysEnabled) {
|
||||
if (globalMediaKeysEnabled !== false) {
|
||||
enableMediaKeys(mainWindow);
|
||||
}
|
||||
|
||||
|
||||
@@ -162,7 +162,7 @@ const initialState: SettingsState = {
|
||||
volumeMute: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
volumeUp: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||
},
|
||||
globalMediaHotkeys: false,
|
||||
globalMediaHotkeys: true,
|
||||
},
|
||||
playback: {
|
||||
audioDeviceId: undefined,
|
||||
|
||||
Reference in New Issue
Block a user