Эх сурвалжийг харах

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

B. Petersen 5 жил өмнө
parent
commit
4998333137

+ 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")