From 072ff110f31f1f3b6028ab629638f8b22d219c74 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 26 Apr 2019 17:55:41 -0500 Subject: [PATCH] Add copyright to about scene footer. --- iOS/Settings/AboutViewController.swift | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/iOS/Settings/AboutViewController.swift b/iOS/Settings/AboutViewController.swift index e22ea5db5..38a15abfe 100644 --- a/iOS/Settings/AboutViewController.swift +++ b/iOS/Settings/AboutViewController.swift @@ -26,7 +26,15 @@ class AboutViewController: UITableViewController { configureCell(file: "Thanks", textView: thanksTextView) configureCell(file: "Dedication", textView: dedicationTextView) - } + let buildLabel = UILabel(frame: CGRect(x: 20.0, y: 0.0, width: 0.0, height: 0.0)) + buildLabel.font = UIFont.systemFont(ofSize: 11.0) + buildLabel.textColor = UIColor.gray + buildLabel.text = NSLocalizedString("Copyright © 2002-2019 Ranchero Software", comment: "Copyright") + buildLabel.sizeToFit() + buildLabel.translatesAutoresizingMaskIntoConstraints = false + tableView.tableFooterView = buildLabel + + } override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { return UITableView.automaticDimension