Set global media hotkeys enabled by default

This commit is contained in:
jeffvli 2023-05-21 19:43:42 -07:00
parent 5b98238b3a
commit e6a4ce2e64
2 changed files with 2 additions and 2 deletions

View file

@ -273,7 +273,7 @@ const createWindow = async () => {
const globalMediaKeysEnabled = store.get('global_media_hotkeys') as boolean;
if (globalMediaKeysEnabled) {
if (globalMediaKeysEnabled !== false) {
enableMediaKeys(mainWindow);
}

View file

@ -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,