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

@@ -160,7 +160,7 @@ public class AdapterNavFolder extends RecyclerView.Adapter<AdapterNavFolder.View
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.debug = prefs.getBoolean("debug", false);
this.colorUnread = Helper.resolveColor(context, highlight_unread ? R.attr.colorUnreadHighlight : android.R.attr.textColorPrimary);
this.textColorSecondary = Helper.resolveColor(context, android.R.attr.textColorSecondary);