mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
MESSENGER-4482 fix feature banner link and add navigationbar
This commit is contained in:
committed by
Arnfried Griesert
parent
0cceca235c
commit
9827bae79b
@@ -3442,14 +3442,8 @@ 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];
|
||||
}
|
||||
// bwi: replace link and show webview
|
||||
NSString *htmlFile = BWIBuildSettings.shared.bwiFeatureHistoryFilePath;
|
||||
WebViewViewController *webViewViewController = [[WebViewViewController alloc] initWithLocalHTMLFile: htmlFile];
|
||||
webViewViewController.title = BWIL10n.bwiSettingsNewFeaturesHeader;
|
||||
[self pushViewController:webViewViewController];
|
||||
|
||||
Reference in New Issue
Block a user