mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
Add tray settings (#49)
This commit is contained in:
parent
eecbcddea3
commit
2b1c1d5e59
8 changed files with 198 additions and 28 deletions
|
|
@ -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,
|
||||
},
|
||||
})),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue