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:

View File

@@ -2412,6 +2412,7 @@
<string name="title_keyword_delivered">Delivered</string>
<string name="title_keyword_not_displayed">Not displayed</string>
<string name="title_keyword_not_delivered">Not delivered</string>
<string name="title_keyword_complaint">Complaint</string>
<plurals name="title_accessibility_messages">
<item quantity="one">%1$d message</item>