浏览代码

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