diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-25 22:19:13 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2024-09-25 22:19:13 +0000 |
commit | 52db8688d19ad03d624df3de8fd8c04f747914fc (patch) | |
tree | 074fee0efef7e70ea2bcf5081f4b47f8bce241ac /app/src | |
parent | e5b35e11e907a10bed08ff9f98c4a116253e34cb (diff) | |
download | infinity-for-reddit-52db8688d19ad03d624df3de8fd8c04f747914fc.tar infinity-for-reddit-52db8688d19ad03d624df3de8fd8c04f747914fc.tar.gz infinity-for-reddit-52db8688d19ad03d624df3de8fd8c04f747914fc.tar.bz2 infinity-for-reddit-52db8688d19ad03d624df3de8fd8c04f747914fc.tar.lz infinity-for-reddit-52db8688d19ad03d624df3de8fd8c04f747914fc.tar.xz infinity-for-reddit-52db8688d19ad03d624df3de8fd8c04f747914fc.tar.zst infinity-for-reddit-52db8688d19ad03d624df3de8fd8c04f747914fc.zip |
Fix theming issues in CustomThemeListingRecyclerViewAdapter.
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CustomThemeListingRecyclerViewAdapter.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CustomThemeListingRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CustomThemeListingRecyclerViewAdapter.java index 93fc08fc..01782895 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CustomThemeListingRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CustomThemeListingRecyclerViewAdapter.java @@ -127,6 +127,8 @@ public class CustomThemeListingRecyclerViewAdapter extends RecyclerView.Adapter< PredefinedCustomThemeViewHolder(@NonNull ItemPredefinedCustomThemeBinding binding) { super(binding.getRoot()); this.binding = binding; + binding.nameTextViewItemPredefinedCustomTheme.setTextColor(activity.customThemeWrapper.getPrimaryTextColor()); + binding.addImageViewItemPredefinedCustomTheme.setColorFilter(activity.customThemeWrapper.getPrimaryIconColor()); if (activity.typeface != null) { binding.nameTextViewItemPredefinedCustomTheme.setTypeface(activity.typeface); } @@ -139,6 +141,9 @@ public class CustomThemeListingRecyclerViewAdapter extends RecyclerView.Adapter< UserCustomThemeViewHolder(@NonNull ItemUserCustomThemeBinding binding) { super(binding.getRoot()); this.binding = binding; + binding.nameTextViewItemUserCustomTheme.setTextColor(activity.customThemeWrapper.getPrimaryTextColor()); + binding.addImageViewItemUserCustomTheme.setColorFilter(activity.customThemeWrapper.getPrimaryIconColor()); + binding.shareImageViewItemUserCustomTheme.setColorFilter(activity.customThemeWrapper.getPrimaryIconColor()); if (activity.typeface != null) { binding.nameTextViewItemUserCustomTheme.setTypeface(activity.typeface); } @@ -149,6 +154,7 @@ public class CustomThemeListingRecyclerViewAdapter extends RecyclerView.Adapter< PreDefinedThemeDividerViewHolder(@NonNull View itemView) { super(itemView); + ((TextView) itemView).setTextColor(activity.customThemeWrapper.getSecondaryTextColor()); if (activity.typeface != null) { ((TextView) itemView).setTypeface(activity.typeface); } @@ -159,6 +165,7 @@ public class CustomThemeListingRecyclerViewAdapter extends RecyclerView.Adapter< UserThemeDividerViewHolder(@NonNull View itemView) { super(itemView); + ((TextView) itemView).setTextColor(activity.customThemeWrapper.getSecondaryTextColor()); if (activity.typeface != null) { ((TextView) itemView).setTypeface(activity.typeface); } |