File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,10 @@ enum Brand {
51
51
52
52
static let aboutText : String = Config . value ( for: . aboutText) ?? " settings.about.description " . localized
53
53
static let aboutWebsite : String = Config . value ( for: . aboutWebsite) ?? " https://www.kiwix.org "
54
- // currently only used by Kiwix brand
55
- // if this is missing from project.yml we fall back to true
56
- // and hide the support for donation (for macOS FTP)
54
+ // currently only used under the Kiwix brand
55
+ // if this is set to true in Support/Info.plist the support/donation button is hidden (for macOS FTP)
56
+ // if not set, we fall back to false, and display the support/donation button
57
+ // for non Kiwix brands, it has no effect
57
58
static let hideDonation : Bool = Config . value ( for: . hideDonation) ?? false
58
59
59
60
static var defaultExternalLinkPolicy : ExternalLinkLoadingPolicy {
You can’t perform that action at this time.
0 commit comments