mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +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;
|
const globalMediaKeysEnabled = store.get('global_media_hotkeys') as boolean;
|
||||||
|
|
||||||
if (globalMediaKeysEnabled) {
|
if (globalMediaKeysEnabled !== false) {
|
||||||
enableMediaKeys(mainWindow);
|
enableMediaKeys(mainWindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ const initialState: SettingsState = {
|
|||||||
volumeMute: { allowGlobal: true, hotkey: '', isGlobal: false },
|
volumeMute: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||||
volumeUp: { allowGlobal: true, hotkey: '', isGlobal: false },
|
volumeUp: { allowGlobal: true, hotkey: '', isGlobal: false },
|
||||||
},
|
},
|
||||||
globalMediaHotkeys: false,
|
globalMediaHotkeys: true,
|
||||||
},
|
},
|
||||||
playback: {
|
playback: {
|
||||||
audioDeviceId: undefined,
|
audioDeviceId: undefined,
|
||||||
|
|||||||
Reference in New Issue
Block a user