chore: fix issues blocking app store review [skip e2e]
This commit is contained in:
@@ -17,7 +17,7 @@ export const UpgradePrompt = ({
|
|||||||
onClose: () => void
|
onClose: () => void
|
||||||
}) => {
|
}) => {
|
||||||
const handleClick = useCallback(() => {
|
const handleClick = useCallback(() => {
|
||||||
if (hasSubscription) {
|
if (hasSubscription && !application.isNativeIOS()) {
|
||||||
void application.openSubscriptionDashboard.execute()
|
void application.openSubscriptionDashboard.execute()
|
||||||
} else {
|
} else {
|
||||||
void application.openPurchaseFlow()
|
void application.openPurchaseFlow()
|
||||||
|
|||||||
@@ -48,7 +48,8 @@ const PremiumModalProvider: FunctionComponent<Props> = observer(({ application,
|
|||||||
<ModalOverlay
|
<ModalOverlay
|
||||||
isOpen={application.featuresController.premiumAlertType != undefined}
|
isOpen={application.featuresController.premiumAlertType != undefined}
|
||||||
close={close}
|
close={close}
|
||||||
className="w-full max-w-[90vw] md:max-w-89"
|
className="w-full max-w-[90vw] !h-auto md:max-w-89"
|
||||||
|
backdropClassName="!opacity-50"
|
||||||
>
|
>
|
||||||
<PremiumFeaturesModal
|
<PremiumFeaturesModal
|
||||||
application={application}
|
application={application}
|
||||||
|
|||||||
Reference in New Issue
Block a user