diff --git a/mobile/src/base/java/be/mygod/vpnhotspot/EBegFragment.kt b/mobile/src/base/java/be/mygod/vpnhotspot/EBegFragment.kt index 12990fcf..c53783a4 100644 --- a/mobile/src/base/java/be/mygod/vpnhotspot/EBegFragment.kt +++ b/mobile/src/base/java/be/mygod/vpnhotspot/EBegFragment.kt @@ -61,7 +61,7 @@ class EBegFragment : DialogFragment(), PurchasesUpdatedListener, BillingClientSt openDialog(R.string.donations__google_android_market_not_supported_title, R.string.donations__google_android_market_not_supported) } else billingClient.launchBillingFlow(requireActivity(), BillingFlowParams.newBuilder() - .setSku(sku.sku).setType(BillingClient.SkuType.INAPP).build()) + .setSkuDetails(sku).build()) } @Suppress("ConstantConditionIf") if (BuildConfig.DONATIONS) (view.findViewById(R.id.donations__more_stub).inflate() as Button)