Default enable highlight unread for new installations

This commit is contained in:
M66B
2020-03-08 21:25:20 +01:00
parent f809e2489d
commit 6ef6a3a2ec
9 changed files with 12 additions and 8 deletions

View File

@@ -126,7 +126,7 @@ public class AdapterNavMenu extends RecyclerView.Adapter<AdapterNavMenu.ViewHold
this.inflater = LayoutInflater.from(context);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean highlight_unread = prefs.getBoolean("highlight_unread", false);
boolean highlight_unread = prefs.getBoolean("highlight_unread", true);
this.colorUnread = Helper.resolveColor(context, highlight_unread ? R.attr.colorUnreadHighlight : android.R.attr.textColorPrimary);
this.textColorSecondary = Helper.resolveColor(context, android.R.attr.textColorSecondary);