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