Fix #38 - Reblog header applied on not boosted messages

pull/40/head
Thomas 3 years ago
parent dc899bdb7d
commit 03e30bdfc3

@ -256,6 +256,8 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
} }
if (theme_boost_header_color != -1 && status.reblog != null) { if (theme_boost_header_color != -1 && status.reblog != null) {
holder.binding.headerContainer.setBackgroundColor(theme_boost_header_color); holder.binding.headerContainer.setBackgroundColor(theme_boost_header_color);
} else {
holder.binding.headerContainer.setBackgroundColor(0);
} }
if (theme_text_color != -1) { if (theme_text_color != -1) {
holder.binding.statusContent.setTextColor(theme_text_color); holder.binding.statusContent.setTextColor(theme_text_color);

Loading…
Cancel
Save