Merge branch 'feature/3624_help_and_support' into develop

This commit is contained in:
Arnfried Griesert
2022-11-11 16:07:12 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -330,6 +330,7 @@ class BWIBuildSettings: NSObject {
var settingsScreenShowSystemSettingsOption = false
var settingsScreenShowNsfwRoomsOption = false
var settingsScreenShowSupportSetting = true
var settingsScreenSupportSettingHTML = "support"
var settingsSecurityScreenShowCryptographyInfo:Bool = false
var settingsSecurityScreenShowCryptographyExport:Bool = false

View File

@@ -3259,7 +3259,7 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
}
else if (row == ABOUT_SUPPORT_INDEX)
{
NSString *htmlFile = [[NSBundle mainBundle] pathForResource:@"support" ofType:@"html" inDirectory:nil];
NSString *htmlFile = [[NSBundle mainBundle] pathForResource:BWIBuildSettings.shared.settingsScreenSupportSettingHTML ofType:@"html" inDirectory:nil];
WebViewViewController *webViewViewController = [[WebViewViewController alloc] initWithLocalHTMLFile:htmlFile];