mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-26 05:18:31 -04:00
Merge pull request #612 from kiwix/feature/use-full-url-for-websites
Use full urls for websites
This commit is contained in:
commit
9b0e4d460e
@ -35,7 +35,7 @@ enum Brand {
|
||||
static let appStoreId: String = Config.value(for: .appStoreID) ?? "id997079563"
|
||||
static let welcomeLogoImageName: String = "welcomeLogo"
|
||||
static let aboutText: String = Config.value(for: .aboutText) ?? "settings.about.description".localized
|
||||
static let aboutWebsite: String = Config.value(for: .aboutWebsite) ?? "www.kiwix.org"
|
||||
static let aboutWebsite: String = Config.value(for: .aboutWebsite) ?? "https://www.kiwix.org"
|
||||
|
||||
static var defaultExternalLinkPolicy: ExternalLinkLoadingPolicy {
|
||||
guard let policyString: String = Config.value(for: .externalLinkDefaultPolicy),
|
||||
|
@ -99,7 +99,7 @@ struct About: View {
|
||||
|
||||
private var ourWebsite: some View {
|
||||
Button("settings.about.our_website.button".localized) {
|
||||
externalLinkURL = URL(string: "https://\(Brand.aboutWebsite)")
|
||||
externalLinkURL = URL(string: "\(Brand.aboutWebsite)")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user