Rename UserEncryptionTrustLevelNormal to UserEncryptionTrustLevelNotVerified

This commit is contained in:
manuroe
2020-04-23 15:25:43 +02:00
parent 90fdb730cb
commit 835bd8e3dc
4 changed files with 10 additions and 10 deletions
@@ -841,7 +841,7 @@
case UserEncryptionTrustLevelTrusted:
statusText = NSLocalizedStringFromTable(@"room_participants_action_security_status_verified", @"Vector", nil);
break;
case UserEncryptionTrustLevelNormal:
case UserEncryptionTrustLevelNotVerified:
case UserEncryptionTrustLevelNoCrossSigning:
statusText = NSLocalizedStringFromTable(@"room_participants_action_security_status_verify", @"Vector", nil);
break;
@@ -875,7 +875,7 @@
switch (self.encryptionTrustLevel) {
case UserEncryptionTrustLevelWarning:
case UserEncryptionTrustLevelNormal:
case UserEncryptionTrustLevelNotVerified:
case UserEncryptionTrustLevelNoCrossSigning:
case UserEncryptionTrustLevelTrusted:
[encryptionInformation appendString:NSLocalizedStringFromTable(@"room_participants_security_information_room_encrypted", @"Vector", nil)];
@@ -1029,7 +1029,7 @@
{
if (indexPath.section == securityIndex)
{
if (self.encryptionTrustLevel == UserEncryptionTrustLevelNormal)
if (self.encryptionTrustLevel == UserEncryptionTrustLevelNotVerified)
{
[self startUserVerification];
}