Show changelog by default for Play Store version

This commit is contained in:
M66B 2024-05-29 10:09:31 +02:00
parent cc1c62ba8c
commit 96686111b8
2 changed files with 2 additions and 2 deletions

View File

@ -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");

View File

@ -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));