-
-
Save laevandus/af661352a9246ad8c8ce0e3bf33186ac to your computer and use it in GitHub Desktop.
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
struct SubscriptionsView: View { | |
var body: some View { | |
SubscriptionStoreView(productIDs: Subscriptions.subscriptionIDs) { | |
VStack { | |
VStack(spacing: 8) { | |
Image(systemName: "graduationcap.fill") | |
.resizable() | |
.scaledToFill() | |
.frame(width: 96, height: 96) | |
.foregroundStyle(Color.brown) | |
Text("Premium Access") | |
.font(.largeTitle) | |
Text("Unlock premium access for enabling **X** and **Y**.") | |
.multilineTextAlignment(.center) | |
} | |
.padding() | |
} | |
} | |
.subscriptionStorePolicyDestination(url: AppConstants.URLs.privacyPolicy, for: .privacyPolicy) | |
.subscriptionStorePolicyDestination(url: AppConstants.URLs.termsOfUse, for: .termsOfService) | |
.subscriptionStoreButtonLabel(.multiline) | |
.storeButton(.visible, for: .restorePurchases) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment