diff --git a/Config/BWIBuildSettings.swift b/Config/BWIBuildSettings.swift index 38fd38c81..608644e4e 100644 --- a/Config/BWIBuildSettings.swift +++ b/Config/BWIBuildSettings.swift @@ -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 diff --git a/Riot/Modules/Settings/SettingsViewController.m b/Riot/Modules/Settings/SettingsViewController.m index fcbc710e6..f8d574f6c 100644 --- a/Riot/Modules/Settings/SettingsViewController.m +++ b/Riot/Modules/Settings/SettingsViewController.m @@ -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];