Преглед изворни кода

use correct resource name for fallback language (en/help.html, not en/en_help.html)

B. Petersen пре 5 година
родитељ
комит
4998333137
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      deltachat-ios/Controller/HelpViewController.swift

+ 1 - 1
deltachat-ios/Controller/HelpViewController.swift

@@ -62,7 +62,7 @@ class HelpViewController: UIViewController {
             var fileURL: URL?
 
             fileURL = Bundle.main.url(forResource: "help", withExtension: "html", subdirectory: "Assets/Help/\(lang)") ??
-                Bundle.main.url(forResource: "en_help", withExtension: "html", subdirectory: "Assets/Help/en")
+                Bundle.main.url(forResource: "help", withExtension: "html", subdirectory: "Assets/Help/en")
 
             guard let url = fileURL else {
                 safe_fatalError("could not find help asset")