mirror of https://github.com/M66B/FairEmail.git
Use warning color for high importance indicator
This commit is contained in:
parent
7a89f55649
commit
962a62f1e0
|
@ -1407,9 +1407,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
|
||||
if (EntityMessage.PRIORITIY_HIGH.equals(message.ui_importance)) {
|
||||
ivImportance.setImageLevel(message.ui_importance);
|
||||
ivImportance.setImageTintList(ColorStateList.valueOf(colorWarning));
|
||||
ivImportance.setVisibility(View.VISIBLE);
|
||||
} else if (EntityMessage.PRIORITIY_LOW.equals(message.ui_importance)) {
|
||||
ivImportance.setImageLevel(message.ui_importance);
|
||||
ivImportance.setImageTintList(null);
|
||||
ivImportance.setVisibility(View.VISIBLE);
|
||||
} else
|
||||
ivImportance.setVisibility(View.GONE);
|
||||
|
|
Loading…
Reference in New Issue