@@ -34,6 +34,7 @@ public struct AccountView: View {
3434 @Environment ( \. currentUser) private var currentUser
3535
3636 @EnvironmentObject private var mainViewState : MainViewState
37+ @Environment ( \. openURL) private var openURL
3738
3839 @State private var isShowingLogoutView = false
3940
@@ -82,13 +83,15 @@ public struct AccountView: View {
8283 }
8384 . settingsCell ( )
8485
85- Link ( destination : SettingLinks . helpAndSupport ) {
86+ Button {
8687 openURL ( SettingLinks . helpAndSupportURL)
88+ } label: {
8789 SingleLabelSettingsCell (
8890 title: STResourcesStrings . Localizable. settingsHelpAndSupport,
8991 leadingIcon: STResourcesAsset . Images. help, trailingIcon: STResourcesAsset . Images. export
9092 )
9193 }
94+ . buttonStyle ( . plain)
9295 . settingsCell ( )
9396
9497 if let currentUser {
@@ -109,29 +112,41 @@ public struct AccountView: View {
109112 }
110113
111114 Section ( header: Text ( STResourcesStrings . Localizable. settingsCategoryAbout) ) {
112- Link ( destination: SettingLinks . termsAndConditions) {
115+ Button {
116+ openURL ( SettingLinks . termsAndConditions)
117+ } label: {
113118 SingleLabelSettingsCell ( title: STResourcesStrings . Localizable. settingsOptionTermsAndConditions,
114119 trailingIcon: STResourcesAsset . Images. export)
115120 }
121+ . buttonStyle ( . plain)
116122 . settingsCell ( )
117123
118- Link ( destination: SettingLinks . discoverInfomaniak) {
124+ Button {
125+ openURL ( SettingLinks . discoverInfomaniak)
126+ } label: {
119127 SingleLabelSettingsCell ( title: STResourcesStrings . Localizable. settingsOptionDiscoverInfomaniak,
120128 trailingIcon: STResourcesAsset . Images. export)
121129 }
130+ . buttonStyle ( . plain)
122131 . settingsCell ( )
123132
124- Link ( destination: SettingLinks . shareYourIdeas) {
133+ Button {
134+ openURL ( SettingLinks . shareYourIdeas)
135+ } label: {
125136 SingleLabelSettingsCell ( title: STResourcesStrings . Localizable. settingsOptionShareIdeas,
126137 trailingIcon: STResourcesAsset . Images. export)
127138 }
139+ . buttonStyle ( . plain)
128140 . settingsCell ( )
129141
130142 if !Bundle. main. isRunningInTestFlight {
131- Link ( destination: SettingLinks . appStoreReviewURL) {
143+ Button {
144+ openURL ( SettingLinks . appStoreReviewURL)
145+ } label: {
132146 SingleLabelSettingsCell ( title: STResourcesStrings . Localizable. settingsOptionGiveFeedback,
133147 trailingIcon: STResourcesAsset . Images. export)
134148 }
149+ . buttonStyle ( . plain)
135150 . settingsCell ( )
136151
137152 Link ( destination: UpdateLink . testFlight) {
0 commit comments