aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-22 09:38:12 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-22 09:38:12 +0000
commit7b754328fc59cd590d56625f1519c19122971920 (patch)
treed413962f3ca0b57cd364a7f38609237b728d7427 /app/src/main/java
parent23c76a86cb0ccb71776c13bd619155d35797a26e (diff)
downloadinfinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar
infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.gz
infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.bz2
infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.lz
infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.xz
infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.tar.zst
infinity-for-reddit-7b754328fc59cd590d56625f1519c19122971920.zip
Fixed UI in dark theme.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/MessageRecyclerViewAdapter.java2
1 files changed, 1 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));
}