From 441458b8b2ddae573bc5b473b46765c33e6feb56 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 11 Nov 2020 17:40:09 +0800 Subject: [PATCH] Fix comment more button not visible. --- app/build.gradle | 2 +- .../Adapter/CommentAndPostRecyclerViewAdapter.java | 1 + .../main/res/drawable-night/ic_data_saving_mode_24dp.xml | 9 +++++++++ ..._mode_black_24dp.xml => ic_data_saving_mode_24dp.xml} | 0 app/src/main/res/xml/main_preferences.xml | 2 +- 5 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/drawable-night/ic_data_saving_mode_24dp.xml rename app/src/main/res/drawable/{ic_data_saving_mode_black_24dp.xml => ic_data_saving_mode_24dp.xml} (100%) diff --git a/app/build.gradle b/app/build.gradle index 08e86c6f..d516d91f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,7 +38,7 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.browser:browser:1.2.0' implementation 'androidx.cardview:cardview:1.0.0' - implementation 'androidx.constraintlayout:constraintlayout:2.0.3' + implementation 'androidx.constraintlayout:constraintlayout:2.0.4' // Lifecycle components def lifecycleVersion = '2.2.0' implementation "androidx.lifecycle:lifecycle-extensions:$lifecycleVersion" diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java index b063ddb5..0114560d 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/CommentAndPostRecyclerViewAdapter.java @@ -3351,6 +3351,7 @@ public class CommentAndPostRecyclerViewAdapter extends RecyclerView.Adapter + + diff --git a/app/src/main/res/drawable/ic_data_saving_mode_black_24dp.xml b/app/src/main/res/drawable/ic_data_saving_mode_24dp.xml similarity index 100% rename from app/src/main/res/drawable/ic_data_saving_mode_black_24dp.xml rename to app/src/main/res/drawable/ic_data_saving_mode_24dp.xml diff --git a/app/src/main/res/xml/main_preferences.xml b/app/src/main/res/xml/main_preferences.xml index f318d83d..9a560383 100644 --- a/app/src/main/res/xml/main_preferences.xml +++ b/app/src/main/res/xml/main_preferences.xml @@ -50,7 +50,7 @@