Cross-signing: Follow API change on MXDeviceInfo.trustLevel

This commit is contained in:
manuroe
2020-01-16 09:19:39 +01:00
parent c5e679693c
commit c4bce89834
7 changed files with 18 additions and 14 deletions

View File

@@ -54,7 +54,7 @@
- (void)onButtonPressed:(id)sender
{
UIViewController *rootViewController = [AppDelegate theDelegate].window.rootViewController;
if (sender == self.verifyButton && self.mxDeviceInfo.verified != MXDeviceVerified
if (sender == self.verifyButton && self.mxDeviceInfo.trustLevel.localVerificationStatus != MXDeviceVerified
&& self.mxDeviceInfo
&& rootViewController)
{