mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Darker text color for light theme (2)
This commit is contained in:
@@ -717,11 +717,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||
this.textColorSecondary = Helper.resolveColor(context, android.R.attr.textColorSecondary);
|
||||
|
||||
boolean highlight_unread = prefs.getBoolean("highlight_unread", false);
|
||||
|
||||
if (highlight_unread)
|
||||
this.colorUnread = Helper.resolveColor(context, R.attr.colorUnread);
|
||||
else
|
||||
this.colorUnread = this.textColorPrimary;
|
||||
this.colorUnread = Helper.resolveColor(context, highlight_unread ? R.attr.colorUnreadHighlight : android.R.attr.textColorPrimary);
|
||||
|
||||
setHasStableIds(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user