Fix misplaced Account header

This commit is contained in:
Davide De Rosa 2019-04-05 09:26:01 +02:00
parent 68f7046304
commit 1edf712cda

View File

@ -80,6 +80,7 @@ class AccountViewController: UIViewController, TableModelHost {
model.clear()
model.add(.credentials)
model.setHeader("", for: .credentials)
model.set([.username, .password], in: .credentials)
if let name = infrastructureName {
@ -103,7 +104,6 @@ class AccountViewController: UIViewController, TableModelHost {
model.add(.noAccount)
model.set([], in: .noAccount)
model.setHeader("", for: .credentials)
if guidance != nil {
let footer: String
if let _ = guidanceURL {