From 57ce79e9bdab92497ae20b28970f15282fb984ca Mon Sep 17 00:00:00 2001 From: ev chang Date: Sat, 30 Nov 2024 07:30:21 +0900 Subject: [PATCH] Revert "Add auto update toggle" This reverts commit 6a27eeda3deec492e1b45e6d78dce0fbeaa0b113. --- .../polyfrost/oneconfig/internal/config/Preferences.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java b/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java index b07b54eac..4dbace89f 100644 --- a/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java +++ b/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java @@ -185,11 +185,6 @@ public class Preferences extends InternalConfig { max = 100f ) public static float trackerResponseDuration = 60; - - @Switch( - name = "Auto Update" - ) - public static boolean autoUpdate = true; @Dropdown( name = "Release Channel", @@ -224,10 +219,6 @@ public Preferences() { initialize(); addListener("enableBlur", () -> BlurHandler.INSTANCE.reloadBlur(Platform.getGuiPlatform().getCurrentScreen())); registerKeyBind(oneConfigKeyBind, () -> new TickDelay(() -> Platform.getGuiPlatform().setCurrentScreen(OneConfigGui.create()), 1)); - addListener("autoUpdate", () -> { - OneConfigConfig.autoUpdate = autoUpdate; - OneConfigConfig.getInstance().save(); - }); addListener("updateChannel", () -> { OneConfigConfig.updateChannel = updateChannel; OneConfigConfig.getInstance().save();