Skip to content

Commit e272df6

Browse files
committed
fix: Rename helpAndSupportURL to avoid confusion with Matomo category
1 parent 41bcd21 commit e272df6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

SwissTransferFeatures/AccountView/AccountView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public struct AccountView: View {
8383
.settingsCell()
8484

8585
Link(destination: SettingLinks.helpAndSupport) {
86+
openURL(SettingLinks.helpAndSupportURL)
8687
SingleLabelSettingsCell(
8788
title: STResourcesStrings.Localizable.settingsHelpAndSupport,
8889
leadingIcon: STResourcesAsset.Images.help, trailingIcon: STResourcesAsset.Images.export

SwissTransferFeatures/SettingsView/SettingsView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public enum SettingLinks {
3636
public static let githubRepository = URL(string: "https://github.com/Infomaniak/ios-SwissTransfer")!
3737
public static let termsAndConditions = URL(string: "https://www.swisstransfer.com/?cgu")!
3838
public static let appStoreReviewURL = URL(string: "https://apps.apple.com/app/id6737686335?action=write-review")!
39-
public static let helpAndSupport = URL(string: "https://support.infomaniak.com")!
39+
public static let helpAndSupportURL = URL(string: "https://support.infomaniak.com")!
4040
}
4141

4242
extension ApiToken: @retroactive Identifiable {
@@ -115,7 +115,7 @@ public struct SettingsView: View {
115115
Section(header: Text(STResourcesStrings.Localizable.settingsCategoryDataManagement)) {
116116
NavigationLink {
117117
PrivacyManagementView(
118-
urlRepository: SettingLinks.helpAndSupport,
118+
urlRepository: SettingLinks.helpAndSupportURL,
119119
backgroundColor: Color.ST.background,
120120
illustration: STResourcesAsset.Images.documentSignaturePencilBulb.swiftUIImage,
121121
userDefaultStore: .shared,

0 commit comments

Comments
 (0)