Jelajahi Sumber

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

B. Petersen 5 tahun lalu
induk
melakukan
4998333137
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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?
             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)") ??
-                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 {
             guard let url = fileURL else {
                 safe_fatalError("could not find help asset")
                 safe_fatalError("could not find help asset")