Remove unneeded saveOpenVROption

This commit is contained in:
Natsumi
2025-11-19 00:49:19 +11:00
parent 424edb04e0
commit b1d661c086
3 changed files with 10 additions and 37 deletions

View File

@@ -38,40 +38,28 @@
:label="t('view.settings.advanced.advanced.relaunch_vrchat.description')"
:value="relaunchVRChatAfterCrash"
:long-label="true"
@change="
setRelaunchVRChatAfterCrash();
saveOpenVROption();
" />
@change="setRelaunchVRChatAfterCrash" />
<span class="sub-header">{{ t('view.settings.advanced.advanced.vrchat_quit_fix.header') }}</span>
<simple-switch
:label="t('view.settings.advanced.advanced.vrchat_quit_fix.description')"
:value="vrcQuitFix"
:long-label="true"
@change="
setVrcQuitFix();
saveOpenVROption();
" />
@change="setVrcQuitFix" />
<span class="sub-header">{{ t('view.settings.advanced.advanced.auto_cache_management.header') }}</span>
<simple-switch
:label="t('view.settings.advanced.advanced.auto_cache_management.description')"
:value="autoSweepVRChatCache"
:long-label="true"
@change="
setAutoSweepVRChatCache();
saveOpenVROption();
" />
@change="setAutoSweepVRChatCache" />
<span class="sub-header">{{ t('view.settings.advanced.advanced.self_invite.header') }}</span>
<simple-switch
:label="t('view.settings.advanced.advanced.self_invite.description')"
:value="selfInviteOverride"
:long-label="true"
@change="
setSelfInviteOverride();
saveOpenVROption();
" />
@change="setSelfInviteOverride" />
<div v-if="branch === 'Nightly'">
<span class="sub-header">Anonymous Error Reporting (Nightly Only)</span>
@@ -102,10 +90,7 @@
:label="t('view.settings.advanced.advanced.remote_database.enable')"
:value="avatarRemoteDatabase"
:long-label="true"
@change="
setAvatarRemoteDatabase(!avatarRemoteDatabase);
saveOpenVROption();
" />
@change="setAvatarRemoteDatabase(!avatarRemoteDatabase)" />
<div class="options-container-item">
<el-button size="small" :icon="User" @click="showAvatarProviderDialog">{{
t('view.settings.advanced.advanced.remote_database.avatar_database_provider')
@@ -441,7 +426,7 @@
const advancedSettingsStore = useAdvancedSettingsStore();
const notificationsSettingsStore = useNotificationsSettingsStore();
const { saveOpenVROption, updateVRLastLocation, updateOpenVR } = useVrStore();
const { updateVRLastLocation, updateOpenVR } = useVrStore();
const { showLaunchOptions } = useLaunchStore();
const { enablePrimaryPasswordChange } = useAuthStore();
const { cachedConfig } = storeToRefs(useAuthStore());

View File

@@ -135,10 +135,7 @@
<simple-switch
:label="t('view.settings.advanced.advanced.cache_debug.udon_exception_logging')"
:value="udonExceptionLogging"
@change="
setUdonExceptionLogging();
saveOpenVROption();
" />
@change="setUdonExceptionLogging" />
<simple-switch
:label="t('view.settings.general.logging.resource_load')"
:value="logResourceLoad"

View File

@@ -162,10 +162,7 @@
:model-value="desktopToast"
size="small"
style="margin-top: 5px"
@change="
setDesktopToast($event);
saveOpenVROption();
">
@change="setDesktopToast($event)">
<el-radio-button value="Never">{{
t('view.settings.notifications.notifications.conditions.never')
}}</el-radio-button>
@@ -194,10 +191,7 @@
t('view.settings.notifications.notifications.desktop_notifications.desktop_notification_while_afk')
"
:value="afkDesktopToast"
@change="
setAfkDesktopToast();
saveOpenVROption();
" />
@change="setAfkDesktopToast" />
</div>
<div class="options-container">
<span class="sub-header">{{ t('view.settings.notifications.notifications.text_to_speech.header') }}</span>
@@ -251,10 +245,7 @@
:label="t('view.settings.notifications.notifications.text_to_speech.use_memo_nicknames')"
:value="notificationTTSNickName"
:disabled="notificationTTS === 'Never'"
@change="
setNotificationTTSNickName();
saveOpenVROption();
" />
@change="setNotificationTTSNickName" />
<simple-switch
:label="t('view.settings.notifications.notifications.text_to_speech.tts_test_placeholder')"
:value="isTestTTSVisible"