mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Red for permanent deletion
This commit is contained in:
@@ -350,6 +350,12 @@ public class EntityFolder extends EntityOrder implements Serializable {
|
||||
return null;
|
||||
}
|
||||
|
||||
static Integer getDefaultColor(Long action, String type) {
|
||||
if (EntityMessage.SWIPE_ACTION_DELETE.equals(action))
|
||||
return Color.RED;
|
||||
return getDefaultColor(type);
|
||||
}
|
||||
|
||||
String getDisplayName(Context context) {
|
||||
return (display == null ? localizeName(context, name) : display);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user