Update Extensions to match the new styling of the Accounts management functionality

This commit is contained in:
Maurice Parker
2020-10-27 14:25:45 -05:00
parent fa08dec5ff
commit b72948bc8e
6 changed files with 20 additions and 22 deletions

View File

@@ -43,6 +43,14 @@ class AddExtensionPointViewController: UITableViewController, AddExtensionPointD
return cell
}
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
return NSLocalizedString("Feed Provider", comment: "Feed Provider Header")
}
override func tableView(_ tableView: UITableView, titleForFooterInSection section: Int) -> String? {
return NSLocalizedString("Feed Providers allow you to subscribe to web site URL's as if they were RSS feeds.", comment: "Feed Provider Footer")
}
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
let navController = UIStoryboard.settings.instantiateViewController(withIdentifier: "EnableExtensionPointNavigationViewController") as! UINavigationController
navController.modalPresentationStyle = .currentContext