properly display green checkmark

This commit is contained in:
adbenitez
2023-12-10 14:08:52 -05:00
parent 49e691a560
commit ab5c3bf4d6
3 changed files with 4 additions and 3 deletions
@@ -13,7 +13,7 @@ DeltaLab was created with a focus on usability, good user experience, and saving
<li>Replies to your messages in muted groups trigger notifications</li>
<li>Quote-reply a message with a single emoji to set it as reaction</li>
<li>Location streaming feature enabled by default and have extra option to share location for 12 hours</li>
<li>Verified icon is shown in the chat list for verified contacts and the "Device Messages" chat</li>
<li>Verified icon is shown in the chat list for the "Device Messages" chat</li>
<li>Videos are played in loop, useful for short GIF videos</li>
<li>It is possible to click <b>OPENPGP4FPR:</b> and <b>mumble:</b> links in messages</li>
<li>Option to disable the auto-generated e-mail Subject set by Delta Chat</li>
@@ -174,7 +174,8 @@ public class ConversationListItem extends RelativeLayout
avatar.setSeenRecently(false);
} else {
avatar.setSeenRecently(contact.wasSeenRecently());
if (contact.isVerified() || DcHelper.getContext(getContext()).getChat((int)chatId).isDeviceTalk()) {
DcChat dcChat = DcHelper.getContext(getContext()).getChat((int)chatId);
if (dcChat.isProtected() || dcChat.isDeviceTalk()) {
imgRight = R.drawable.ic_verified;
}
}
@@ -74,7 +74,7 @@ public class ConversationTitleView extends RelativeLayout {
if (dcChat.isMuted()) {
imgLeft = R.drawable.ic_volume_off_white_18dp;
}
if (dcChat.isProtected()) {
if (dcChat.isProtected() || dcChat.isDeviceTalk()) {
imgRight = R.drawable.ic_verified;
}