mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-11 19:43:11 +02:00
Refactoring
This commit is contained in:
@@ -1387,7 +1387,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
if (account_color == 2 &&
|
||||
!Objects.equals(ivBadge.getTag(), colorBackground)) {
|
||||
ivBadge.setTag(colorBackground);
|
||||
((GradientDrawable) ivBadge.getDrawable().mutate()).setColor(colorBackground);
|
||||
Helper.setColor(ivBadge.getDrawable(), colorBackground);
|
||||
}
|
||||
ivBadge.setVisibility(account_color == 2 ? View.VISIBLE : View.GONE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user