Skip to content

Commit 5446417

Browse files
BPerlakiHkelson42
authored andcommitted
Update docs
1 parent d50d8e2 commit 5446417

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Model/Brand.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ enum Brand {
5151

5252
static let aboutText: String = Config.value(for: .aboutText) ?? "settings.about.description".localized
5353
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
5758
static let hideDonation: Bool = Config.value(for: .hideDonation) ?? false
5859

5960
static var defaultExternalLinkPolicy: ExternalLinkLoadingPolicy {

0 commit comments

Comments
 (0)