From 4ea655df79036c39a073a6a3ca905e0203f14ad2 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sun, 24 Nov 2019 11:33:01 -0600 Subject: [PATCH] Update Help section in Settings. Issue #1340 --- iOS/Settings/Settings.storyboard | 31 ++++++++++++++++++----- iOS/Settings/SettingsViewController.swift | 7 +++-- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/iOS/Settings/Settings.storyboard b/iOS/Settings/Settings.storyboard index 605b69281..24d8aef6f 100644 --- a/iOS/Settings/Settings.storyboard +++ b/iOS/Settings/Settings.storyboard @@ -196,17 +196,17 @@ - + - + - - + + - - + @@ -300,6 +300,23 @@ + + + + + + + + + + + diff --git a/iOS/Settings/SettingsViewController.swift b/iOS/Settings/SettingsViewController.swift index 024d08d59..3c249e19b 100644 --- a/iOS/Settings/SettingsViewController.swift +++ b/iOS/Settings/SettingsViewController.swift @@ -159,8 +159,8 @@ class SettingsViewController: UITableViewController { case 4: switch indexPath.row { case 0: - let timeline = UIStoryboard.settings.instantiateController(ofType: AboutViewController.self) - self.navigationController?.pushViewController(timeline, animated: true) + openURL("https://ranchero.com/netnewswire/help/ios/5.0/en/") + tableView.selectRow(at: nil, animated: true, scrollPosition: .none) case 1: openURL("https://ranchero.com/netnewswire/") tableView.selectRow(at: nil, animated: true, scrollPosition: .none) @@ -176,6 +176,9 @@ class SettingsViewController: UITableViewController { case 5: openURL("https://github.com/brentsimmons/NetNewsWire/tree/master/Technotes") tableView.selectRow(at: nil, animated: true, scrollPosition: .none) + case 6: + let timeline = UIStoryboard.settings.instantiateController(ofType: AboutViewController.self) + self.navigationController?.pushViewController(timeline, animated: true) default: break }