fix(mobile): show stripe subscriptions on android (#4945)

This commit is contained in:
DIYgod 2026-04-02 15:20:28 +08:00 committed by GitHub
parent 22e0e90ffd
commit 44614f746d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -28,5 +28,4 @@ export const isAndroidApkInstall = () => {
}
}
export const isPaymentFeatureEnabled = (paymentEnabled?: boolean | null) =>
Boolean(paymentEnabled) && (!isAndroid || isAndroidApkInstall())
export const isPaymentFeatureEnabled: (paymentEnabled?: boolean | null) => boolean = Boolean