From bb37941f8a0c53224bf3f6048cc7bc956173bebf Mon Sep 17 00:00:00 2001 From: Juraj Hilje Date: Tue, 26 Sep 2023 12:35:03 +0200 Subject: [PATCH] feat: update AdvancedViewController.swift --- IVPNClient/Scenes/Base.lproj/Main.storyboard | 13 +++++++------ .../ViewControllers/AdvancedViewController.swift | 9 ++++++++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/IVPNClient/Scenes/Base.lproj/Main.storyboard b/IVPNClient/Scenes/Base.lproj/Main.storyboard index b46dc051a..3728b6d84 100644 --- a/IVPNClient/Scenes/Base.lproj/Main.storyboard +++ b/IVPNClient/Scenes/Base.lproj/Main.storyboard @@ -1185,7 +1185,8 @@ - + + VPN obfuscation is a technique that masks VPN traffic to make it appear like standard internet traffic, helping to evade detection and bypass internet restrictions or censorship. Enable V2Ray only when connected to WiFi network. Manually reconnect VPN when switching WiFi networks. Learn more @@ -1261,7 +1262,7 @@ - + @@ -1304,7 +1305,7 @@ - + @@ -1347,7 +1348,7 @@ - + @@ -1394,7 +1395,7 @@ - + @@ -1439,7 +1440,7 @@ - + diff --git a/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift b/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift index 29c640510..ce9f5ccf1 100644 --- a/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift +++ b/IVPNClient/Scenes/ViewControllers/AdvancedViewController.swift @@ -225,7 +225,14 @@ extension AdvancedViewController { let footer = view as! UITableViewHeaderFooterView footer.textLabel?.textColor = UIColor.init(named: Theme.ivpnLabel6) - let urlString = "https://www.ivpn.net/knowledgebase/ios/known-issues-with-native-ios-kill-switch/" + var urlString = "" + switch section { + case 1: + urlString = "https://www.ivpn.net/" + default: + urlString = "https://www.ivpn.net/knowledgebase/ios/known-issues-with-native-ios-kill-switch/" + } + let label = ActiveLabel(frame: .zero) let customType = ActiveType.custom(pattern: "Learn more") label.numberOfLines = 0