Presenting paywall manually so can hide the close button.
PaywallView(displayCloseButton: false)
i just can’t find any documentation regarding this in the SDK. specifically its modifiers such as .onRestoreCompleted
currently in the code block after restore I dismiss the paywall. Unfortunately the restore is successful if user made a legacy purchase. App has moved to subscription so legacy purchases need to be ignored and prevent from dismissing paywall. Only the subscription purchases should dismiss.
please help me locate the documentation for .onRestoreCompleted View modifier