1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 13:14:39 +00:00

Default weekly update check

This commit is contained in:
M66B 2021-05-29 15:38:14 +02:00
parent 0f14c94735
commit 243d7b836b
2 changed files with 2 additions and 2 deletions

View file

@ -931,7 +931,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
boolean updates = prefs.getBoolean("updates", true);
boolean weekly = prefs.getBoolean("weekly", false);
boolean weekly = prefs.getBoolean("weekly", true);
long last_update_check = prefs.getLong("last_update_check", 0);
if (!always && !updates)

View file

@ -982,7 +982,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
swWatchdog.setChecked(prefs.getBoolean("watchdog", true));
swUpdates.setChecked(prefs.getBoolean("updates", true));
swCheckWeekly.setChecked(prefs.getBoolean("weekly", false));
swCheckWeekly.setChecked(prefs.getBoolean("weekly", true));
swCheckWeekly.setEnabled(swUpdates.isChecked());
grpUpdates.setVisibility(!BuildConfig.DEBUG &&
(Helper.isPlayStoreInstall() || !Helper.hasValidFingerprint(getContext()))