Skip to content

Commit

Permalink
don't stop non-ios users from upgrading
Browse files Browse the repository at this point in the history
  • Loading branch information
ganthern committed Jul 12, 2024
1 parent 8cf8c0e commit 47f1696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/subscription/UpgradeSubscriptionWizard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export type UpgradeSubscriptionData = {
export async function showUpgradeWizard(logins: LoginController, acceptedPlans: AvailablePlanType[] = NewPaidPlans, msg?: TranslationText): Promise<void> {
const [customer, accountingInfo] = await Promise.all([logins.getUserController().loadCustomer(), logins.getUserController().loadAccountingInfo()])

if (!(await locator.appStorePaymentPicker.shouldEnableAppStorePayment(getPaymentMethodType(accountingInfo)))) {
if (isIOSApp() && !(await locator.appStorePaymentPicker.shouldEnableAppStorePayment(getPaymentMethodType(accountingInfo)))) {
Dialog.message("notAvailableInApp_msg")
return
}
Expand Down

0 comments on commit 47f1696

Please sign in to comment.