|
@@ -51,6 +51,9 @@ class BackupTransferViewController: UIViewController {
|
|
self.dcContext = dcAccounts.getSelected()
|
|
self.dcContext = dcAccounts.getSelected()
|
|
super.init(nibName: nil, bundle: nil)
|
|
super.init(nibName: nil, bundle: nil)
|
|
hidesBottomBarWhenPushed = true
|
|
hidesBottomBarWhenPushed = true
|
|
|
|
+ setupSubviews()
|
|
|
|
+ title = String.localized("add_another_device")
|
|
|
|
+ navigationItem.leftBarButtonItem = cancelButton
|
|
}
|
|
}
|
|
|
|
|
|
required init?(coder _: NSCoder) {
|
|
required init?(coder _: NSCoder) {
|
|
@@ -60,9 +63,7 @@ class BackupTransferViewController: UIViewController {
|
|
// MARK: - lifecycle
|
|
// MARK: - lifecycle
|
|
override func viewDidLoad() {
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
super.viewDidLoad()
|
|
- title = String.localized("add_another_device")
|
|
|
|
- navigationItem.leftBarButtonItem = cancelButton
|
|
|
|
- setupSubviews()
|
|
|
|
|
|
+ triggerLocalNetworkPrivacyAlert()
|
|
|
|
|
|
DispatchQueue.global(qos: .userInitiated).async { [weak self] in
|
|
DispatchQueue.global(qos: .userInitiated).async { [weak self] in
|
|
guard let self = self else { return }
|
|
guard let self = self else { return }
|