mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
MESSENGER-4407 fixes from testprotocol
This commit is contained in:
@@ -3418,6 +3418,13 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
|
||||
if (row == SHOW_NEW_FEATURES)
|
||||
{
|
||||
NSString *htmlFile = [[NSBundle mainBundle] pathForResource:BWIBuildSettings.shared.newFeaturesHTML ofType:@"html" inDirectory:nil];
|
||||
// bwi: if enabled replace feature link and use file from document directory
|
||||
if (BWIBuildSettings.shared.bwiReplaceFeatureLink) {
|
||||
BwiNewFeatureHelper *featureHelper = [[BwiNewFeatureHelper alloc] init];
|
||||
[featureHelper replaceFeatureHistoryLink];
|
||||
NSURL *filePath = [featureHelper getDocumentDirectory];
|
||||
htmlFile = [filePath path];
|
||||
}
|
||||
WebViewViewController *webViewViewController = [[WebViewViewController alloc] initWithLocalHTMLFile: htmlFile];
|
||||
webViewViewController.title = BWIL10n.bwiSettingsNewFeaturesHeader;
|
||||
[self pushViewController:webViewViewController];
|
||||
|
||||
Reference in New Issue
Block a user