Minor UI-fixes (IOS-157)
- NavigationBar - ContentInset for TableView
This commit is contained in:
parent
cfc60e6721
commit
9b0e503603
|
@ -28,11 +28,15 @@ class SuggestionAccountViewController: UIViewController, NeedsDependency {
|
|||
tableView.register(SuggestionAccountTableViewCell.self, forCellReuseIdentifier: SuggestionAccountTableViewCell.reuseIdentifier)
|
||||
// we're lazy, that's why we don't put the Footer in tableViewFooter
|
||||
tableView.register(SuggestionAccountTableViewFooter.self, forHeaderFooterViewReuseIdentifier: SuggestionAccountTableViewFooter.reuseIdentifier)
|
||||
tableView.contentInset.top = 16
|
||||
return tableView
|
||||
}()
|
||||
|
||||
//TODO: Add "follow all"-footer-cell
|
||||
override func viewDidLoad() {
|
||||
|
||||
setupNavigationBarAppearance()
|
||||
defer { setupNavigationBarBackgroundView() }
|
||||
|
||||
super.viewDidLoad()
|
||||
|
||||
title = L10n.Scene.SuggestionAccount.title
|
||||
|
@ -140,3 +144,5 @@ extension SuggestionAccountViewController: SuggestionAccountTableViewFooterDeleg
|
|||
// follow all of them
|
||||
}
|
||||
}
|
||||
|
||||
extension SuggestionAccountViewController: OnboardingViewControllerAppearance { }
|
||||
|
|
|
@ -39,7 +39,7 @@ final class SuggestionAccountTableViewCell: UITableViewCell {
|
|||
bioMetaLabel.numberOfLines = 0
|
||||
bioMetaLabel.textAttributes = [
|
||||
.font: UIFontMetrics(forTextStyle: .body).scaledFont(for: .systemFont(ofSize: 15, weight: .regular)),
|
||||
.foregroundColor: UIColor.secondaryLabel
|
||||
.foregroundColor: UIColor.label
|
||||
]
|
||||
bioMetaLabel.linkAttributes = [
|
||||
.font: UIFontMetrics(forTextStyle: .body).scaledFont(for: .systemFont(ofSize: 15, weight: .semibold)),
|
||||
|
|
Loading…
Reference in New Issue