Fix UI issue

This commit is contained in:
Mingshen Sun 2023-03-18 11:21:55 -07:00
parent 3054e8e6f4
commit bead9eaf21
4 changed files with 31 additions and 23 deletions

View file

@ -30,7 +30,7 @@ class AboutTableViewController: BasicStaticTableViewController {
override func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
if section == tableData.count - 1 {
let view = UIView()
let footerLabel = UILabel(frame: CGRect(x: 8, y: 15, width: tableView.frame.width, height: 60))
let footerLabel = UILabel(frame: CGRect(x: -16, y: 16, width: tableView.frame.width, height: 60))
footerLabel.numberOfLines = 0
footerLabel.text = "PassForIos".localize() + " \(Bundle.main.releaseVersionNumber!) (\(Bundle.main.buildVersionNumber!))"
footerLabel.font = UIFont.preferredFont(forTextStyle: .footnote)