mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
MESSENGER-4535 fix invitation into DMs and personal notes and cancelable passphrase flow cherry pick from release
This commit is contained in:
@@ -102,18 +102,6 @@ final class SecureBackupSetupIntroViewController: UIViewController {
|
||||
self.title = BWIL10n.secureKeyBackupSetupIntroTitle
|
||||
self.informationLabel.text = BWIL10n.secureKeyBackupSetupIntroInfo
|
||||
|
||||
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
|
||||
}
|
||||
self.delegate?.secureBackupSetupIntroViewControllerDidCancel(self, showSkipAlert: true)
|
||||
}
|
||||
self.navigationItem.rightBarButtonItem = cancelBarButtonItem
|
||||
}
|
||||
}
|
||||
|
||||
self.secureKeyCell.fill(title: VectorL10n.secureKeyBackupSetupIntroUseSecurityKeyTitle,
|
||||
information: VectorL10n.secureKeyBackupSetupIntroUseSecurityKeyInfo,
|
||||
image: Asset.Images.secretsSetupKey.image)
|
||||
|
||||
Reference in New Issue
Block a user