mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
feat: updates
This commit is contained in:
parent
a1b0bcf4d3
commit
884f3df41a
198 changed files with 4572 additions and 5336 deletions
|
|
@ -18,7 +18,11 @@ const initUIStates: UIStates = {
|
|||
librarySelectedTab: 'playlists',
|
||||
mobileShowPlayingNext: false,
|
||||
blurBackgroundImage: null,
|
||||
fullscreen: window.ipcRenderer?.sendSync(IpcChannels.IsMaximized) || false,
|
||||
fullscreen: false,
|
||||
}
|
||||
|
||||
window.ipcRenderer
|
||||
?.invoke(IpcChannels.IsMaximized)
|
||||
.then(isMaximized => (initUIStates.fullscreen = !!isMaximized))
|
||||
|
||||
export default proxy<UIStates>(initUIStates)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue