Show guidance URL even without string

This commit is contained in:
Davide De Rosa 2020-05-19 19:26:02 +02:00
parent fe7946bc37
commit 4d568bf3d6
1 changed files with 5 additions and 1 deletions

View File

@ -100,7 +100,11 @@ class AccountViewController: UIViewController, StrongTableHost {
} else {
model.setFooter(guidanceString, forSection: .credentials)
}
model.setHeader("", forSection: .registration)
// model.setHeader("", forSection: .registration)
} else if let _ = guidanceURL {
model.add(.guidance)
model.set([.openGuide], forSection: .guidance)
// model.setHeader("", forSection: .registration)
}
// if let _ = referralURL {
// model.add(.registration)