Remove old AppDelegate imports.

This commit is contained in:
SBiOSoftWhare
2020-08-31 19:38:06 +02:00
parent 77860661c4
commit 1f6743f612
52 changed files with 4 additions and 63 deletions
@@ -155,11 +155,11 @@ final class KeyVerificationSelfVerifyWaitViewModel: KeyVerificationSelfVerifyWai
private func registerKeyVerificationManagerNewRequestNotification(for verificationManager: MXKeyVerificationManager) {
NotificationCenter.default.addObserver(self, selector: #selector(keyVerificationManagerNewRequestNotification(notification:)), name: .MXKeyVerificationManagerNewRequest, object: verificationManager)
AppDelegate.the()?.handleSelfVerificationRequest = false
AppDelegate.theDelegate().handleSelfVerificationRequest = false
}
private func unregisterKeyVerificationManagerNewRequestNotification() {
AppDelegate.the()?.handleSelfVerificationRequest = true
AppDelegate.theDelegate().handleSelfVerificationRequest = true
NotificationCenter.default.removeObserver(self, name: .MXKeyVerificationManagerNewRequest, object: nil)
}