Skip to content

Commit

Permalink
Revert "Add auto update toggle"
Browse files Browse the repository at this point in the history
This reverts commit 6a27eed.
  • Loading branch information
Wyvest committed Nov 29, 2024
1 parent c17c03e commit 57ce79e
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 57ce79e

Please sign in to comment.