Add tray settings (#49)

This commit is contained in:
jeffvli 2023-03-30 08:09:20 -07:00
parent eecbcddea3
commit 2b1c1d5e59
8 changed files with 198 additions and 28 deletions

View file

@ -71,6 +71,8 @@ export interface SettingsState {
songs: DataTableProps;
};
window: {
exitToTray: boolean;
minimizeToTray: boolean;
windowBarStyle: Platform;
};
}
@ -243,6 +245,8 @@ export const useSettingsStore = create<SettingsSlice>()(
},
},
window: {
exitToTray: false,
minimizeToTray: false,
windowBarStyle: Platform.WEB,
},
})),