Fix UI issues under large text mode

This commit is contained in:
Mingshen Sun 2021-01-05 23:27:35 -08:00
parent 3ecb35e701
commit 05a3fa8d9f
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
7 changed files with 58 additions and 14 deletions

View file

@ -140,6 +140,14 @@ class SettingsTableViewController: UITableViewController, UITabBarControllerDele
tableView.deselectRow(at: indexPath, animated: true)
}
override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
UITableView.automaticDimension
}
override func tableView(_ tableView: UITableView, estimatedHeightForRowAt indexPath: IndexPath) -> CGFloat {
UITableView.automaticDimension
}
func showPGPKeyActionSheet() {
let optionMenu = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
optionMenu.addAction(