playlite
Preparing search index...
hooks/useAppUpdate
useAppUpdate
Function useAppUpdate
useAppUpdate
()
:
{
updateType
:
UpdateType
;
isMajorOpen
:
boolean
;
closeMajorModal
:
()
=>
void
;
}
Custom hook to check for app updates and manage update state.
Returns
{
updateType
:
UpdateType
;
isMajorOpen
:
boolean
;
closeMajorModal
:
()
=>
void
}
An object with:
updateType: Type of update ('none', 'patch', 'minor', 'major')
isMajorOpen: Boolean indicating if major update modal is open
closeMajorModal: Function to close the major update modal
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
playlite
Loading...
Custom hook to check for app updates and manage update state.