Fix UI issue: font size not consistent
This commit is contained in:
parent
a07f3af4e2
commit
24c9b9c526
1 changed files with 1 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ class SettingsTableViewController: UITableViewController, UITabBarControllerDele
|
|||
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
||||
let cell = super.tableView(tableView, cellForRowAt: indexPath)
|
||||
cell.textLabel?.font = UIFont.preferredFont(forTextStyle: .body)
|
||||
cell.detailTextLabel?.font = UIFont.preferredFont(forTextStyle: .body)
|
||||
cell.textLabel?.adjustsFontForContentSizeCategory = true
|
||||
cell.detailTextLabel?.adjustsFontForContentSizeCategory = true
|
||||
return cell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue