mirror of
https://github.com/jaywcjlove/StoreKitHelper
synced 2026-04-21 21:47:36 +00:00
638 B
638 B
struct ContentView: View {
@EnvironmentObject public var store: StoreContext
var body: some View {
StoreKitHelperView() {
store.isShowingPurchasePopup.toggle()
}
.frame(maxWidth: 320)
.pricingContent {
AnyView(PricingContent())
}
.termsOfService(label: "Terms of Service") {
MyAppList.openURL(string: "https://wangchujiang.com/videoer/terms-of-service.html")
}
.privacyPolicy(label: "Privacy Policy") {
MyAppList.openURL(string: "https://wangchujiang.com/videoer/privacy-policy.html")
}
}
}