mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-25 10:28:22 +01:00
Fixed UI in dark theme.
This commit is contained in:
parent
23c76a86cb
commit
7b754328fc
@ -154,7 +154,7 @@ class MessageRecyclerViewAdapter extends PagedListAdapter<Message, RecyclerView.
|
||||
public void onViewRecycled(@NonNull RecyclerView.ViewHolder holder) {
|
||||
super.onViewRecycled(holder);
|
||||
if(holder instanceof DataViewHolder) {
|
||||
((DataViewHolder) holder).itemView.setBackgroundColor(mResources.getColor(android.R.color.white));
|
||||
((DataViewHolder) holder).itemView.setBackgroundColor(mResources.getColor(R.color.backgroundColor));
|
||||
((DataViewHolder) holder).titleTextView.setVisibility(View.VISIBLE);
|
||||
((DataViewHolder) holder).authorTextView.setTextColor(mResources.getColor(R.color.primaryTextColor));
|
||||
}
|
||||
|
@ -45,4 +45,8 @@
|
||||
<color name="navBarColor">@color/backgroundColor</color>
|
||||
|
||||
<color name="cardViewBackgroundColor">#242424</color>
|
||||
|
||||
<color name="singleCommentThreadBackgroundColor">#123E77</color>
|
||||
|
||||
<color name="unreadMessageBackgroundColor">#123E77</color>
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user