瀏覽代碼

removed redundant code

nayooti 5 年之前
父節點
當前提交
292ffbfcae
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      deltachat-ios/Controller/HelpViewController.swift

+ 0 - 4
deltachat-ios/Controller/HelpViewController.swift

@@ -43,7 +43,6 @@ class HelpViewController: UIViewController {
     private func loadHtmlContent() {
 
         let lang = Utils.getDeviceLanguage() ?? "en" // en is backup
-
         var fileURL: URL?
 
         fileURL = Bundle.main.url(forResource: "help", withExtension: "html", subdirectory: "Assets/Help/\(lang)") ??
@@ -54,9 +53,6 @@ class HelpViewController: UIViewController {
             return
         }
         webView.loadFileURL(url, allowingReadAccessTo: url)
-        let request = URLRequest(url: url)
-        webView.load(request)
-
     }