aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java2
-rw-r--r--app/src/main/res/values-night/colors.xml4
2 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java
index 3807a413..9ade4b03 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java
@@ -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));
}
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml
index 758b8537..418fd02d 100644
--- a/app/src/main/res/values-night/colors.xml
+++ b/app/src/main/res/values-night/colors.xml
@@ -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>