[Update] Add updating display.
This commit is contained in:
@@ -4,6 +4,7 @@ export { useIsBackendReady } from "./useIsBackendReady";
|
||||
export { useWindow } from "./useWindow";
|
||||
export { useIsOpenedConfigPage } from "./useIsOpenedConfigPage";
|
||||
export { useIsSoftwareUpdateAvailable } from "./useIsSoftwareUpdateAvailable";
|
||||
export { useIsSoftwareUpdating } from "./useIsSoftwareUpdating";
|
||||
export { useOpenFolder } from "./useOpenFolder";
|
||||
export { useMessage } from "./useMessage";
|
||||
export { useUpdateSoftware } from "./useUpdateSoftware";
|
||||
|
||||
10
src-ui/logics/common/useIsSoftwareUpdating.js
Normal file
10
src-ui/logics/common/useIsSoftwareUpdating.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { useStore_IsSoftwareUpdating } from "@store";
|
||||
|
||||
export const useIsSoftwareUpdating = () => {
|
||||
const { currentIsSoftwareUpdating, updateIsSoftwareUpdating } = useStore_IsSoftwareUpdating();
|
||||
|
||||
return {
|
||||
currentIsSoftwareUpdating,
|
||||
updateIsSoftwareUpdating,
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user