mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-05 13:27:36 +01:00
Improve server rules in onboarding according to VQA (#996)
This commit is contained in:
parent
eb826fb310
commit
087a02c8da
@ -81,7 +81,7 @@ class PrivacyTableViewController: UIViewController, NeedsDependency {
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
navigationItem.largeTitleDisplayMode = .always
|
||||
setupOnboardingAppearance()
|
||||
}
|
||||
|
||||
|
@ -51,6 +51,8 @@ extension MastodonServerRulesViewController {
|
||||
|
||||
tableView.delegate = self
|
||||
viewModel.setupDiffableDataSource(tableView: tableView)
|
||||
|
||||
navigationItem.largeTitleDisplayMode = .always
|
||||
|
||||
navigationItem.rightBarButtonItem = UIBarButtonItem(title: L10n.Scene.ServerRules.Button.confirm, style: .done, target: self, action: #selector(MastodonServerRulesViewController.nextButtonPressed(_:)))
|
||||
title = L10n.Scene.ServerRules.title
|
||||
|
@ -92,7 +92,9 @@ extension WelcomeViewController {
|
||||
definesPresentationContext = true
|
||||
preferredContentSize = CGSize(width: 547, height: 678)
|
||||
|
||||
navigationController?.navigationBar.prefersLargeTitles = false
|
||||
navigationController?.navigationBar.prefersLargeTitles = true /// enable large title support for this and all subsequent VCs
|
||||
navigationItem.largeTitleDisplayMode = .never
|
||||
|
||||
view.overrideUserInterfaceStyle = .light
|
||||
|
||||
setupOnboardingAppearance()
|
||||
|
Loading…
Reference in New Issue
Block a user