mirror of https://github.com/M66B/FairEmail.git
Show changelog by default for Play Store version
This commit is contained in:
parent
cc1c62ba8c
commit
96686111b8
|
@ -1512,7 +1512,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||||
|
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
boolean first = prefs.getBoolean("first", true);
|
boolean first = prefs.getBoolean("first", true);
|
||||||
boolean show_changelog = prefs.getBoolean("show_changelog", !BuildConfig.PLAY_STORE_RELEASE);
|
boolean show_changelog = prefs.getBoolean("show_changelog", true);
|
||||||
|
|
||||||
if (first)
|
if (first)
|
||||||
new FragmentDialogFirst().show(getSupportFragmentManager(), "first");
|
new FragmentDialogFirst().show(getSupportFragmentManager(), "first");
|
||||||
|
|
|
@ -2326,7 +2326,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc
|
||||||
swCheckWeekly.setEnabled(swUpdates.isChecked());
|
swCheckWeekly.setEnabled(swUpdates.isChecked());
|
||||||
swBeta.setChecked(prefs.getBoolean("beta", false));
|
swBeta.setChecked(prefs.getBoolean("beta", false));
|
||||||
swBeta.setEnabled(swUpdates.isChecked());
|
swBeta.setEnabled(swUpdates.isChecked());
|
||||||
swChangelog.setChecked(prefs.getBoolean("show_changelog", !BuildConfig.PLAY_STORE_RELEASE));
|
swChangelog.setChecked(prefs.getBoolean("show_changelog", true));
|
||||||
swAnnouncements.setChecked(prefs.getBoolean("announcements", true));
|
swAnnouncements.setChecked(prefs.getBoolean("announcements", true));
|
||||||
swExperiments.setChecked(prefs.getBoolean("experiments", false));
|
swExperiments.setChecked(prefs.getBoolean("experiments", false));
|
||||||
swCrashReports.setChecked(prefs.getBoolean("crash_reports", false));
|
swCrashReports.setChecked(prefs.getBoolean("crash_reports", false));
|
||||||
|
|
Loading…
Reference in New Issue