From 0d85cdaf7477db57b4cca7bf0a8e6df745f3d00e Mon Sep 17 00:00:00 2001 From: jahorton Date: Thu, 25 Mar 2021 09:28:19 +0700 Subject: [PATCH] chore(ios): incorporates source PR's feedback --- .../Keyman/SetUpViewController/SetUpViewController.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ios/keyman/Keyman/Keyman/SetUpViewController/SetUpViewController.swift b/ios/keyman/Keyman/Keyman/SetUpViewController/SetUpViewController.swift index e36f9203e9..998e48e3d5 100644 --- a/ios/keyman/Keyman/Keyman/SetUpViewController/SetUpViewController.swift +++ b/ios/keyman/Keyman/Keyman/SetUpViewController/SetUpViewController.swift @@ -63,8 +63,6 @@ class SetUpViewController: UIViewController, UIWebViewDelegate { private func loadFromLocal() { let offlineHelpBundle = Bundle(path: Bundle.main.path(forResource: "OfflineHelp", ofType: "bundle")!)! - // Yes, .php.html. That's how `wget` is set to retrieve it, since Safari won't recognize the contents - // without the .html ending, it seems. let filePath = offlineHelpBundle.path(forResource: "installing-system-keyboard", ofType: "html", inDirectory: "start") @@ -74,7 +72,7 @@ class SetUpViewController: UIViewController, UIWebViewDelegate { private func loadFromServer() { let appVersion = Version.current.majorMinor let url = "https://help.keyman.com/products/iphone-and-ipad/\(appVersion.plainString)" - + "/start/installing-system-keyboard" + + "/start/installing-system-keyboard?embed=ios" webView.loadRequest(URLRequest(url: URL(string: url)!)) log.debug("Set up page URL: \(url)") }