Enable tabular unread background for new installations

pull/214/head
M66B 11 months ago
parent 4f8d78d387
commit 7f4d3e6a3f

@ -8041,7 +8041,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
this.shadow_unread = prefs.getBoolean("shadow_unread", false);
this.shadow_border = prefs.getBoolean("shadow_border", true);
this.shadow_highlight = prefs.getBoolean("shadow_highlight", false);
this.tabular_unread_bg = prefs.getBoolean("tabular_unread_bg", false);
this.tabular_unread_bg = prefs.getBoolean("tabular_unread_bg", true);
this.threading = prefs.getBoolean("threading", true);
this.threading_unread = threading && prefs.getBoolean("threading_unread", false);
this.indentation = prefs.getBoolean("indentation", false);

@ -851,6 +851,9 @@ public class ApplicationEx extends Application
// https://support.google.com/faqs/answer/6346016
if (!prefs.contains("cert_strict"))
editor.putBoolean("cert_strict", !BuildConfig.PLAY_STORE_RELEASE);
} else if (version < 2162) {
if (!BuildConfig.DEBUG)
editor.putBoolean("tabular_unread_bg", false);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)

@ -1552,7 +1552,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
swShadowHighlight.setEnabled(swShadow.isEnabled() && swShadow.isChecked());
swTabularDividers.setChecked(prefs.getBoolean("dividers", true));
swTabularDividers.setEnabled(!swCards.isChecked());
swTabularUnreadBg.setChecked(prefs.getBoolean("tabular_unread_bg", false));
swTabularUnreadBg.setChecked(prefs.getBoolean("tabular_unread_bg", true));
swTabularUnreadBg.setEnabled(!swCards.isChecked());
swPortrait2.setChecked(prefs.getBoolean("portrait2", false));
swPortrait2c.setChecked(prefs.getBoolean("portrait2c", false) && !swPortrait2.isChecked());

Loading…
Cancel
Save