File tree Expand file tree Collapse file tree 3 files changed +0
-20
lines changed Expand file tree Collapse file tree 3 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -117,20 +117,6 @@ struct RootView: View {
117
117
}
118
118
}
119
119
}
120
- . safeAreaInset ( edge: . bottom) {
121
- if let url = URL ( string: Brand . supportURLString) {
122
- Link ( destination: url) {
123
- HStack {
124
- Image ( systemName: " heart " )
125
- Text ( " common.support.app_name " . localizedWithFormat ( withArgs: Brand . appName) )
126
- . foregroundColor ( . primary)
127
- . multilineTextAlignment ( . leading)
128
- Spacer ( )
129
- }
130
- }
131
- . padding ( )
132
- }
133
- }
134
120
. frame ( minWidth: 150 )
135
121
. toolbar {
136
122
Button {
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ enum Brand {
49
49
static let welcomeLogoImageName : String = " welcomeLogo "
50
50
static let aboutText : String = Config . value ( for: . aboutText) ?? " settings.about.description " . localized
51
51
static let aboutWebsite : String = Config . value ( for: . aboutWebsite) ?? " https://www.kiwix.org "
52
- static let supportURLString : String = Config . value ( for: . supportURL) ?? " https://kiwix.org/get-involved/ "
53
52
54
53
static var defaultExternalLinkPolicy : ExternalLinkLoadingPolicy {
55
54
guard let policyString: String = Config . value ( for: . externalLinkDefaultPolicy) ,
@@ -80,7 +79,6 @@ enum Config: String {
80
79
case showSearchSnippetInSettings = " SETTINGS_SHOW_SEARCH_SNIPPET "
81
80
case aboutText = " CUSTOM_ABOUT_TEXT "
82
81
case aboutWebsite = " CUSTOM_ABOUT_WEBSITE "
83
- case supportURL = " SUPPORT_URL "
84
82
85
83
static func value< T> ( for key: Config ) -> T ? where T: LosslessStringConvertible {
86
84
guard let object = Bundle . main. object ( forInfoDictionaryKey: key. rawValue) else {
Original file line number Diff line number Diff line change @@ -235,10 +235,6 @@ struct Settings: View {
235
235
appStoreID: Brand . appStoreId)
236
236
UIApplication . shared. open ( url)
237
237
}
238
- if let url = URL ( string: Brand . supportURLString) {
239
- Link ( " common.support.app_name " . localizedWithFormat ( withArgs: Brand . appName) ,
240
- destination: url)
241
- }
242
238
NavigationLink ( " settings.miscellaneous.navigation.about " . localized) { About ( ) }
243
239
}
244
240
}
You can’t perform that action at this time.
0 commit comments