Fix identity proof display

This commit is contained in:
Justin Mazzocchi 2021-01-17 16:39:47 -08:00
parent 2c19d248ab
commit 8706fdab78
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C

View file

@ -90,7 +90,7 @@ final class AccountHeaderView: UIView {
fieldsStackView.addArrangedSubview(fieldView) fieldsStackView.addArrangedSubview(fieldView)
} }
fieldsStackView.isHidden = accountViewModel.fields.isEmpty fieldsStackView.isHidden = accountViewModel.fields.isEmpty && accountViewModel.identityProofs.isEmpty
let noteFont = UIFont.preferredFont(forTextStyle: .callout) let noteFont = UIFont.preferredFont(forTextStyle: .callout)
let mutableNote = NSMutableAttributedString(attributedString: accountViewModel.note) let mutableNote = NSMutableAttributedString(attributedString: accountViewModel.note)