|
@@ -349,14 +349,14 @@ class AccountSetupController: UITableViewController, ProgressAlertHandler {
|
|
title = String.localized("login_header")
|
|
title = String.localized("login_header")
|
|
}
|
|
}
|
|
navigationItem.rightBarButtonItem = loginButton
|
|
navigationItem.rightBarButtonItem = loginButton
|
|
|
|
+ emailCell.setText(text: dcContext.addr ?? nil)
|
|
|
|
+ passwordCell.setText(text: dcContext.mailPw ?? nil)
|
|
}
|
|
}
|
|
|
|
|
|
override func viewWillAppear(_ animated: Bool) {
|
|
override func viewWillAppear(_ animated: Bool) {
|
|
super.viewWillAppear(animated)
|
|
super.viewWillAppear(animated)
|
|
initSelectionCells()
|
|
initSelectionCells()
|
|
- updateCellData()
|
|
|
|
handleLoginButton()
|
|
handleLoginButton()
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
override func viewDidAppear(_ animated: Bool) {
|
|
override func viewDidAppear(_ animated: Bool) {
|
|
@@ -487,12 +487,6 @@ class AccountSetupController: UITableViewController, ProgressAlertHandler {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- // MARK: - updates
|
|
|
|
- private func updateCellData() {
|
|
|
|
- emailCell.setText(text: dcContext.addr ?? nil)
|
|
|
|
- passwordCell.setText(text: dcContext.mailPw ?? nil)
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
// MARK: - actions
|
|
// MARK: - actions
|
|
private func toggleAdvancedSection() {
|
|
private func toggleAdvancedSection() {
|
|
let willShow = !advancedSectionShowing
|
|
let willShow = !advancedSectionShowing
|