From 04fd5163322d07eb0f89f6dddef49ea0e066a1e6 Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Tue, 13 Oct 2020 10:46:42 +0200 Subject: [PATCH] Self verification: Update complete security screen with new wording. --- ...ionSelfVerifyWaitViewController.storyboard | 64 +++++++------------ ...ficationSelfVerifyWaitViewController.swift | 10 +-- 2 files changed, 24 insertions(+), 50 deletions(-) diff --git a/Riot/Modules/KeyVerification/Device/SelfVerifyWait/KeyVerificationSelfVerifyWaitViewController.storyboard b/Riot/Modules/KeyVerification/Device/SelfVerifyWait/KeyVerificationSelfVerifyWaitViewController.storyboard index d3db75f1f..a75a46a5e 100644 --- a/Riot/Modules/KeyVerification/Device/SelfVerifyWait/KeyVerificationSelfVerifyWaitViewController.storyboard +++ b/Riot/Modules/KeyVerification/Device/SelfVerifyWait/KeyVerificationSelfVerifyWaitViewController.storyboard @@ -1,5 +1,5 @@ - + @@ -20,13 +20,13 @@ - + - + - + - + @@ -47,18 +47,10 @@ Use the latest Riot on your other devices: - - + @@ -67,14 +59,6 @@ Riot Desktop - @@ -82,26 +66,26 @@ Riot X for Android - - + - - diff --git a/Riot/Modules/KeyVerification/Device/SelfVerifyWait/KeyVerificationSelfVerifyWaitViewController.swift b/Riot/Modules/KeyVerification/Device/SelfVerifyWait/KeyVerificationSelfVerifyWaitViewController.swift index 50ed4acd1..da3eca87b 100644 --- a/Riot/Modules/KeyVerification/Device/SelfVerifyWait/KeyVerificationSelfVerifyWaitViewController.swift +++ b/Riot/Modules/KeyVerification/Device/SelfVerifyWait/KeyVerificationSelfVerifyWaitViewController.swift @@ -33,10 +33,7 @@ final class KeyVerificationSelfVerifyWaitViewController: UIViewController { @IBOutlet private weak var informationLabel: UILabel! @IBOutlet private weak var desktopClientImageView: UIImageView! - @IBOutlet private weak var desktopClientLabel: UILabel! - @IBOutlet private weak var mobileClientImageView: UIImageView! - @IBOutlet private weak var mobileClientLabel: UILabel! @IBOutlet private weak var additionalInformationLabel: UILabel! @@ -99,11 +96,9 @@ final class KeyVerificationSelfVerifyWaitViewController: UIViewController { } self.informationLabel.textColor = theme.textPrimaryColor - self.desktopClientLabel.textColor = theme.textPrimaryColor self.desktopClientImageView.tintColor = theme.tintColor - self.mobileClientLabel.textColor = theme.textPrimaryColor self.mobileClientImageView.tintColor = theme.tintColor - self.additionalInformationLabel.textColor = theme.textSecondaryColor + self.additionalInformationLabel.textColor = theme.textPrimaryColor self.recoverSecretsAvailabilityLoadingLabel.textColor = theme.textSecondaryColor self.recoverSecretsAvailabilityActivityIndicatorView.color = theme.tintColor } @@ -129,9 +124,6 @@ final class KeyVerificationSelfVerifyWaitViewController: UIViewController { self.title = VectorL10n.deviceVerificationSelfVerifyWaitTitle self.informationLabel.text = VectorL10n.deviceVerificationSelfVerifyWaitInformation - self.desktopClientLabel.vc_setText("\(VectorL10n.clientWebName)\n\(VectorL10n.clientDesktopName)", withLineSpacing: Constants.clientNamesLineSpacing, alignement: .center) - self.mobileClientLabel.vc_setText("\(VectorL10n.clientIosName)\n\(VectorL10n.clientAndroidName)", - withLineSpacing: Constants.clientNamesLineSpacing, alignement: .center) self.desktopClientImageView.image = Asset.Images.monitor.image.withRenderingMode(.alwaysTemplate) self.mobileClientImageView.image = Asset.Images.smartphone.image.withRenderingMode(.alwaysTemplate)