From 03e30bdfc36fe171d3518fbc52baac7039df0ae2 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 8 May 2022 10:46:35 +0200 Subject: [PATCH] Fix #38 - Reblog header applied on not boosted messages --- .../main/java/app/fedilab/android/ui/drawer/StatusAdapter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java index 5edadc53..f5d6afd5 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java @@ -256,6 +256,8 @@ public class StatusAdapter extends RecyclerView.Adapter } if (theme_boost_header_color != -1 && status.reblog != null) { holder.binding.headerContainer.setBackgroundColor(theme_boost_header_color); + } else { + holder.binding.headerContainer.setBackgroundColor(0); } if (theme_text_color != -1) { holder.binding.statusContent.setTextColor(theme_text_color);