Skip to content

Commit 9f17bcd

Browse files
Remove Donations from Settings
This feature needs redesign to pass AppReview. Closes IOS-606
1 parent ec343b6 commit 9f17bcd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MastodonSDK/Sources/MastodonSDK/Entity/Mastodon+Entity+DonationCampaign.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,15 @@ extension Mastodon.Entity {
6262
static public func isEligibleForDonationsSettingsSection(domain: String)
6363
-> Bool
6464
{
65+
return false
66+
67+
#if false
6568
let becauseOnOfficialServer = [
6669
"mastodon.social", "mastodon.online",
6770
].contains(domain)
6871
let becauseTesting = domain == "staging.mastodon.social"
6972
return becauseOnOfficialServer || becauseTesting
73+
#endif
7074
}
7175

7276
static public func donationSeed(username: String, domain: String) -> Int

0 commit comments

Comments
 (0)