Skip to content

Commit 57ce79e

Browse files
committed
Revert "Add auto update toggle"
This reverts commit 6a27eed.
1 parent c17c03e commit 57ce79e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,6 @@ public class Preferences extends InternalConfig {
185185
max = 100f
186186
)
187187
public static float trackerResponseDuration = 60;
188-
189-
@Switch(
190-
name = "Auto Update"
191-
)
192-
public static boolean autoUpdate = true;
193188

194189
@Dropdown(
195190
name = "Release Channel",
@@ -224,10 +219,6 @@ public Preferences() {
224219
initialize();
225220
addListener("enableBlur", () -> BlurHandler.INSTANCE.reloadBlur(Platform.getGuiPlatform().getCurrentScreen()));
226221
registerKeyBind(oneConfigKeyBind, () -> new TickDelay(() -> Platform.getGuiPlatform().setCurrentScreen(OneConfigGui.create()), 1));
227-
addListener("autoUpdate", () -> {
228-
OneConfigConfig.autoUpdate = autoUpdate;
229-
OneConfigConfig.getInstance().save();
230-
});
231222
addListener("updateChannel", () -> {
232223
OneConfigConfig.updateChannel = updateChannel;
233224
OneConfigConfig.getInstance().save();

0 commit comments

Comments
 (0)