Fix #38 - Reblog header applied on not boosted messages

This commit is contained in:
Thomas 2022-05-08 10:46:35 +02:00
parent dc899bdb7d
commit 03e30bdfc3

View file

@ -256,6 +256,8 @@ public class StatusAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
}
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);