Use shield instead of checkmark in conversation settings view when users is not verified.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 7d7b6689c4
commit b68b188379

@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "table_ic_not_verified@1x.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "table_ic_not_verified@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "table_ic_not_verified@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -240,12 +240,16 @@ NS_ASSUME_NONNULL_BEGIN
firstSection.customHeaderHeight = @(100.f);
if (!self.isGroupThread && self.thread.hasSafetyNumbers) {
NSString *recipientId = self.thread.contactIdentifier;
BOOL isVerified = [[OWSIdentityManager sharedManager] verificationStateForRecipientId:recipientId]
== OWSVerificationStateVerified;
[firstSection addItem:[OWSTableItem itemWithCustomCellBlock:^{
return [weakSelf
disclosureCellWithName:
NSLocalizedString(@"VERIFY_PRIVACY",
@"Label for button or row which allows users to verify the safety number of another user.")
iconName:@"table_ic_verify"];
iconName:(isVerified ? @"table_ic_verify" : @"table_ic_not_verified")];
}
actionBlock:^{
[weakSelf showVerificationView];

Loading…
Cancel
Save