Skip to content

Commit

Permalink
close auto updates by default
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan committed Jan 18, 2025
1 parent 6736871 commit 4075029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/hippo/ehviewer/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ public static void setShowGalleryComment(boolean value) {

public static final String KEY_CLOSE_AUTO_UPDATES = "close_auto_updates";

private static boolean IS_CLOSE_AUTO_UPDATES = false;
private static boolean IS_CLOSE_AUTO_UPDATES = true;

public static boolean getCloseAutoUpdate() {
return getBoolean(KEY_CLOSE_AUTO_UPDATES, IS_CLOSE_AUTO_UPDATES);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/xml/about_settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
app:allowDividerAbove="true" />

<com.hippo.preference.SwitchPreference
android:defaultValue="false"
android:defaultValue="true"
android:key="close_auto_updates"
android:title="@string/settings_close_automatic_updates" />

Expand Down

0 comments on commit 4075029

Please sign in to comment.