From 4a410d06b165f7df3597017ba26bb25d33fbb0ce Mon Sep 17 00:00:00 2001 From: Arnfried Griesert Date: Thu, 10 Nov 2022 06:33:29 +0100 Subject: [PATCH 1/3] Changed support screen text --- Riot/Assets/support.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Riot/Assets/support.html b/Riot/Assets/support.html index 93c9e7680..a8053e30a 100755 --- a/Riot/Assets/support.html +++ b/Riot/Assets/support.html @@ -33,6 +33,18 @@
+Du suchst Hilfe bei der Bedienung von BundesMessenger, hast ein Problem oder benötigst weitere Infos? +Hierzu gibt es folgende Möglichkeiten: + + From 3eaf1e086b0dbb52c2485f26cc9c5aa90c8c2124 Mon Sep 17 00:00:00 2001 From: Arnfried Griesert Date: Thu, 10 Nov 2022 06:44:53 +0100 Subject: [PATCH 2/3] Small navigation bar title for support screen --- Riot/Modules/Settings/SettingsViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Riot/Modules/Settings/SettingsViewController.m b/Riot/Modules/Settings/SettingsViewController.m index 17efa0768..fcbc710e6 100644 --- a/Riot/Modules/Settings/SettingsViewController.m +++ b/Riot/Modules/Settings/SettingsViewController.m @@ -3264,7 +3264,8 @@ ChangePasswordCoordinatorBridgePresenterDelegate> WebViewViewController *webViewViewController = [[WebViewViewController alloc] initWithLocalHTMLFile:htmlFile]; webViewViewController.title = BWIL10n.settingsSupport; - + [webViewViewController vc_setLargeTitleDisplayMode:UINavigationItemLargeTitleDisplayModeNever]; + [self pushViewController:webViewViewController]; } else if (row == ABOUT_PRIVACY_INDEX) From c0a12200658002046c39e34ca0e957ba8d83e9ba Mon Sep 17 00:00:00 2001 From: Arnfried Griesert Date: Fri, 11 Nov 2022 16:00:53 +0100 Subject: [PATCH 3/3] Build settings for support html file --- Config/BWIBuildSettings.swift | 1 + Riot/Modules/Settings/SettingsViewController.m | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Config/BWIBuildSettings.swift b/Config/BWIBuildSettings.swift index df43cdf21..4d167fd14 100644 --- a/Config/BWIBuildSettings.swift +++ b/Config/BWIBuildSettings.swift @@ -329,6 +329,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];