-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1190 from anyproto/ios-2657-support-dynamic-subsc…
…ription-id-middleware-api IOS-2657 Membership | Support dynamic payment id and url form api
- Loading branch information
Showing
7 changed files
with
24 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,18 +37,7 @@ final class MembershipCoordinatorModel: ObservableObject { | |
} | ||
|
||
func onTierSelected(tier: MembershipTier) { | ||
switch tier.type { | ||
case .custom: | ||
let mailLink = MailUrl( | ||
to: "[email protected]", | ||
subject: Loc.Membership.CustomTierEmail.subject(accountManager.account.id), | ||
body: "" | ||
) | ||
emailUrl = mailLink.url | ||
|
||
case .explorer, .builder, .coCreator: | ||
showTier = tier | ||
} | ||
showTier = tier | ||
} | ||
|
||
func onEmailDataSubmit(data: EmailVerificationData) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters