mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Settings/Discovery: Use new threePidAddManager.cancel()
This commit is contained in:
+5
-2
@@ -156,8 +156,11 @@ final class SettingsDiscoveryThreePidDetailsViewModel: SettingsDiscoveryThreePid
|
||||
self.unregisterEmailValidationNotification()
|
||||
}
|
||||
|
||||
// TODO: cancel
|
||||
self.currentThreePidAddSession = nil
|
||||
if let currentThreePidAddSession = self.currentThreePidAddSession {
|
||||
self.threePidAddManager.cancel(session: currentThreePidAddSession)
|
||||
self.currentThreePidAddSession = nil
|
||||
}
|
||||
|
||||
self.checkThreePidDiscoverability()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user