Update coordinator delegates in order to use coordinator protocol as parameter

This commit is contained in:
SBiOSoftWhare
2019-01-22 17:44:45 +01:00
parent c1435153eb
commit 422cbbff1b
3 changed files with 7 additions and 7 deletions
@@ -94,11 +94,11 @@ extension KeyBackupSetupCoordinator: KeyBackupSetupIntroViewControllerDelegate {
// MARK: - KeyRecoveryPassphraseCoordinatorDelegate
extension KeyBackupSetupCoordinator: KeyBackupSetupPassphraseCoordinatorDelegate {
func keyBackupSetupPassphraseCoordinator(_ keyBackupSetupPassphraseCoordinator: KeyBackupSetupPassphraseCoordinator, didCompleteWithMegolmBackupCreationInfo megolmBackupCreationInfo: MXMegolmBackupCreationInfo) {
func keyBackupSetupPassphraseCoordinator(_ keyBackupSetupPassphraseCoordinator: KeyBackupSetupPassphraseCoordinatorType, didCompleteWithMegolmBackupCreationInfo megolmBackupCreationInfo: MXMegolmBackupCreationInfo) {
self.showRecoveryKey(with: megolmBackupCreationInfo, animated: true)
}
func keyBackupSetupPassphraseCoordinatorDidCancel(_ keyBackupSetupPassphraseCoordinator: KeyBackupSetupPassphraseCoordinator) {
func keyBackupSetupPassphraseCoordinatorDidCancel(_ keyBackupSetupPassphraseCoordinator: KeyBackupSetupPassphraseCoordinatorType) {
self.delegate?.keyBackupSetupCoordinatorDidCancel(self)
}
}