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)) {
|
if (EntityMessage.PRIORITIY_HIGH.equals(message.ui_importance)) {
|
||||||
ivImportance.setImageLevel(message.ui_importance);
|
ivImportance.setImageLevel(message.ui_importance);
|
||||||
|
ivImportance.setImageTintList(ColorStateList.valueOf(colorWarning));
|
||||||
ivImportance.setVisibility(View.VISIBLE);
|
ivImportance.setVisibility(View.VISIBLE);
|
||||||
} else if (EntityMessage.PRIORITIY_LOW.equals(message.ui_importance)) {
|
} else if (EntityMessage.PRIORITIY_LOW.equals(message.ui_importance)) {
|
||||||
ivImportance.setImageLevel(message.ui_importance);
|
ivImportance.setImageLevel(message.ui_importance);
|
||||||
|
ivImportance.setImageTintList(null);
|
||||||
ivImportance.setVisibility(View.VISIBLE);
|
ivImportance.setVisibility(View.VISIBLE);
|
||||||
} else
|
} else
|
||||||
ivImportance.setVisibility(View.GONE);
|
ivImportance.setVisibility(View.GONE);
|
||||||
|
|
Loading…
Reference in New Issue