Skip to content

Commit 5e28891

Browse files
Revert "Remove Donations from Settings"
This reverts commit 9f17bcd.
1 parent bdca4a2 commit 5e28891

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

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

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

0 commit comments

Comments
 (0)