From b1d661c086551679187eef5eb180de4e02cc524d Mon Sep 17 00:00:00 2001 From: Natsumi Date: Wed, 19 Nov 2025 00:49:19 +1100 Subject: [PATCH] Remove unneeded saveOpenVROption --- .../Settings/components/Tabs/AdvancedTab.vue | 27 +++++-------------- .../Settings/components/Tabs/GeneralTab.vue | 5 +--- .../components/Tabs/NotificationsTab.vue | 15 +++-------- 3 files changed, 10 insertions(+), 37 deletions(-) diff --git a/src/views/Settings/components/Tabs/AdvancedTab.vue b/src/views/Settings/components/Tabs/AdvancedTab.vue index d9a4778c..51a1e139 100644 --- a/src/views/Settings/components/Tabs/AdvancedTab.vue +++ b/src/views/Settings/components/Tabs/AdvancedTab.vue @@ -38,40 +38,28 @@ :label="t('view.settings.advanced.advanced.relaunch_vrchat.description')" :value="relaunchVRChatAfterCrash" :long-label="true" - @change=" - setRelaunchVRChatAfterCrash(); - saveOpenVROption(); - " /> + @change="setRelaunchVRChatAfterCrash" /> {{ t('view.settings.advanced.advanced.vrchat_quit_fix.header') }} + @change="setVrcQuitFix" /> {{ t('view.settings.advanced.advanced.auto_cache_management.header') }} + @change="setAutoSweepVRChatCache" /> {{ t('view.settings.advanced.advanced.self_invite.header') }} + @change="setSelfInviteOverride" />
Anonymous Error Reporting (Nightly Only) @@ -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)" />
{{ 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()); diff --git a/src/views/Settings/components/Tabs/GeneralTab.vue b/src/views/Settings/components/Tabs/GeneralTab.vue index 71977761..5ebcb25e 100644 --- a/src/views/Settings/components/Tabs/GeneralTab.vue +++ b/src/views/Settings/components/Tabs/GeneralTab.vue @@ -135,10 +135,7 @@ + @change="setUdonExceptionLogging" /> + @change="setDesktopToast($event)"> {{ t('view.settings.notifications.notifications.conditions.never') }} @@ -194,10 +191,7 @@ t('view.settings.notifications.notifications.desktop_notifications.desktop_notification_while_afk') " :value="afkDesktopToast" - @change=" - setAfkDesktopToast(); - saveOpenVROption(); - " /> + @change="setAfkDesktopToast" />
{{ t('view.settings.notifications.notifications.text_to_speech.header') }} @@ -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" />