Added title/color for complaint flag

pull/214/head
M66B 11 months ago
parent e98e35ad96
commit 25a165002c

@ -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:

@ -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>

Loading…
Cancel
Save