aboutsummaryrefslogtreecommitdiff
path: root/app/src
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
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')
-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>