MESSENGER-3870 use new_features html from settings

This commit is contained in:
Frank Rotermund
2022-12-14 15:38:43 +01:00
parent d523bf0b2e
commit aee59588bd
4 changed files with 6 additions and 3 deletions
@@ -3378,7 +3378,7 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
{
if (row == SHOW_NEW_FEATURES)
{
NSString *htmlFile = [[NSBundle mainBundle] pathForResource:@"new_features" ofType:@"html" inDirectory:nil];
NSString *htmlFile = [[NSBundle mainBundle] pathForResource:BWIBuildSettings.shared.newFeaturesHTML ofType:@"html" inDirectory:nil];
WebViewViewController *webViewViewController = [[WebViewViewController alloc] initWithLocalHTMLFile: htmlFile];
webViewViewController.title = BWIL10n.bwiSettingsNewFeaturesHeader;
[self pushViewController:webViewViewController];