From 0d25ea982567e732b01627c9b19c6a82be1de06c Mon Sep 17 00:00:00 2001
From: thororen <78185467+thororen1234@users.noreply.github.com>
Date: Fri, 6 Dec 2024 12:22:18 -0500
Subject: [PATCH] Fix Turning off Setting
---
src/components/VencordSettings/UpdaterTab.tsx | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/components/VencordSettings/UpdaterTab.tsx b/src/components/VencordSettings/UpdaterTab.tsx
index 546110d3..51d9e8ef 100644
--- a/src/components/VencordSettings/UpdaterTab.tsx
+++ b/src/components/VencordSettings/UpdaterTab.tsx
@@ -219,7 +219,9 @@ function Updater() {
value={settings.autoUpdateNotification}
onChange={(v: boolean) => {
settings.autoUpdateNotification = v;
- settings.updateRelaunch = !v;
+ if (settings.updateRelaunch) {
+ settings.updateRelaunch = !v;
+ }
}}
note="Shows a notification when Equicord automatically updates"
disabled={!settings.autoUpdate}
@@ -230,7 +232,9 @@ function Updater() {
value={settings.updateRelaunch}
onChange={(v: boolean) => {
settings.updateRelaunch = v;
- settings.autoUpdateNotification = !v;
+ if (settings.autoUpdateNotification) {
+ settings.autoUpdateNotification = !v;
+ }
}}
note="Relaunches the app after updating with no prompt"
disabled={!settings.autoUpdate}
@@ -258,8 +262,8 @@ function Updater() {
Updates
- {isNewer ? : }
-
+ {isNewer ? : ; }
+
);
}