mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 01:21:11 +01:00
Show identity color in selector
This commit is contained in:
@@ -3095,6 +3095,9 @@ public class FragmentCompose extends FragmentBase {
|
||||
|
||||
TupleIdentityEx identity = identities.get(position);
|
||||
|
||||
View vwColor = view.findViewById(R.id.vwColor);
|
||||
vwColor.setBackgroundColor(identity.color == null ? Color.TRANSPARENT : identity.color);
|
||||
|
||||
TextView text1 = view.findViewById(android.R.id.text1);
|
||||
text1.setText(identity.accountName + "/" + identity.getDisplayName() + (identity.primary ? " ★" : ""));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user