mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Feature/4218 wellknown defaults
This commit is contained in:
committed by
Arnfried Griesert
parent
cffa0c1d16
commit
7a15f43f64
@@ -102,8 +102,8 @@ final class SecureBackupSetupIntroViewController: UIViewController {
|
||||
self.title = BWIL10n.secureKeyBackupSetupIntroTitle
|
||||
self.informationLabel.text = BWIL10n.secureKeyBackupSetupIntroInfo
|
||||
|
||||
if let session = AppDelegate.theDelegate().mxSessions.first as? MXSession {
|
||||
if !session.homeserverWellknown.backupRequired() {
|
||||
if let session = AppDelegate.theDelegate().mxSessions.first as? MXSession, let wellknown = session.homeserverWellknown {
|
||||
if wellknown.backupRequired() {
|
||||
let cancelBarButtonItem = MXKBarButtonItem(title: VectorL10n.cancel, style: .plain) { [weak self] in
|
||||
guard let self = self else {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user