refactor: use setter functions for dialog visibility and favorite status in stores

This commit is contained in:
pa
2026-03-08 20:58:33 +09:00
parent ae0152c28e
commit c55d5f0ec7
19 changed files with 376 additions and 102 deletions

View File

@@ -159,6 +159,14 @@ export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
state.nextDiscordUpdate = value;
}
function setIpcTimeout(value) {
state.ipcTimeout = value;
}
function setNextCurrentUserRefresh(value) {
state.nextCurrentUserRefresh = value;
}
return {
// state,
@@ -167,6 +175,8 @@ export const useUpdateLoopStore = defineStore('UpdateLoop', () => {
nextDiscordUpdate,
ipcTimeout,
updateLoop,
setIpcTimeout,
setNextCurrentUserRefresh,
setNextDiscordUpdate,
setNextGroupInstanceRefresh,
setNextClearVRCXCacheCheck