diff --git a/Sources/ViewControllers/Settings/SettingsTableViewController.swift b/Sources/ViewControllers/Settings/SettingsTableViewController.swift index 3d79a7ce4b9..75db9ce2139 100644 --- a/Sources/ViewControllers/Settings/SettingsTableViewController.swift +++ b/Sources/ViewControllers/Settings/SettingsTableViewController.swift @@ -34,12 +34,14 @@ class SettingsTableViewController: UITableViewController, MFMailComposeViewContr @IBOutlet weak var creditsCell: UITableViewCell! @IBOutlet weak var contactCell: UITableViewCell! + @IBOutlet weak var bottomLink: UIButton! var dataManager: DataManagerProtocol! override func viewDidLoad() { super.viewDidLoad() self.title = "settings.tab-bar.item".localized + configureForDynamicType() } override func viewWillAppear(_ animated: Bool) { @@ -149,3 +151,11 @@ class SettingsTableViewController: UITableViewController, MFMailComposeViewContr controller.dismiss(animated: true, completion: nil) } } + +private extension SettingsTableViewController { + func configureForDynamicType() { + tableView.rowHeight = UITableView.automaticDimension + tableView.estimatedRowHeight = 200 + bottomLink.titleLabel?.adjustsFontForContentSizeCategory = true + } +} diff --git a/Sources/Views/Settings/Settings.storyboard b/Sources/Views/Settings/Settings.storyboard index bfae10c2183..f1988badd79 100644 --- a/Sources/Views/Settings/Settings.storyboard +++ b/Sources/Views/Settings/Settings.storyboard @@ -1,11 +1,12 @@ - + - + + @@ -16,9 +17,9 @@ - - - + - - -