Added title/color for complaint flag

This commit is contained in:
M66B
2024-02-08 08:42:59 +01:00
parent e98e35ad96
commit 25a165002c
2 changed files with 4 additions and 0 deletions

View File

@@ -127,6 +127,8 @@ public class TupleKeyword {
return context.getString(R.string.title_keyword_not_displayed);
case MessageHelper.FLAG_NOT_DELIVERED:
return context.getString(R.string.title_keyword_not_delivered);
case MessageHelper.FLAG_COMPLAINT:
return context.getString(R.string.title_keyword_complaint);
default:
return keyword;
}
@@ -150,6 +152,7 @@ public class TupleKeyword {
return Helper.resolveColor(context, R.attr.colorVerified);
case MessageHelper.FLAG_NOT_DISPLAYED:
case MessageHelper.FLAG_NOT_DELIVERED:
case MessageHelper.FLAG_COMPLAINT:
return Helper.resolveColor(context, androidx.appcompat.R.attr.colorError);
default: