chore: fix issues blocking app store review [skip e2e]

This commit is contained in:
Aman Harwara
2023-08-19 00:34:43 +05:30
parent 24f878ecef
commit 8be872feee
2 changed files with 3 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ export const UpgradePrompt = ({
onClose: () => void
}) => {
const handleClick = useCallback(() => {
if (hasSubscription) {
if (hasSubscription && !application.isNativeIOS()) {
void application.openSubscriptionDashboard.execute()
} else {
void application.openPurchaseFlow()

View File

@@ -48,7 +48,8 @@ const PremiumModalProvider: FunctionComponent<Props> = observer(({ application,
<ModalOverlay
isOpen={application.featuresController.premiumAlertType != undefined}
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
application={application}