Set global media hotkeys enabled by default
This commit is contained in:
parent
5b98238b3a
commit
e6a4ce2e64
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue