From 441458b8b2ddae573bc5b473b46765c33e6feb56 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 11 Nov 2020 17:40:09 +0800 Subject: Fix comment more button not visible. --- app/build.gradle | 2 +- .../Adapter/CommentAndPostRecyclerViewAdapter.java | 1 + app/src/main/res/drawable-night/ic_data_saving_mode_24dp.xml | 9 +++++++++ app/src/main/res/drawable/ic_data_saving_mode_24dp.xml | 9 +++++++++ app/src/main/res/drawable/ic_data_saving_mode_black_24dp.xml | 9 --------- app/src/main/res/xml/main_preferences.xml | 2 +- 6 files changed, 21 insertions(+), 11 deletions(-) create mode 100644 app/src/main/res/drawable-night/ic_data_saving_mode_24dp.xml create mode 100644 app/src/main/res/drawable/ic_data_saving_mode_24dp.xml delete mode 100644 app/src/main/res/drawable/ic_data_saving_mode_black_24dp.xml 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_24dp.xml b/app/src/main/res/drawable/ic_data_saving_mode_24dp.xml new file mode 100644 index 00000000..89f69eca --- /dev/null +++ b/app/src/main/res/drawable/ic_data_saving_mode_24dp.xml @@ -0,0 +1,9 @@ + + + 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_black_24dp.xml deleted file mode 100644 index 89f69eca..00000000 --- a/app/src/main/res/drawable/ic_data_saving_mode_black_24dp.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - 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 @@