mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 18:13:24 +02:00
Use app context for billing client
This commit is contained in:
@@ -108,7 +108,7 @@ public class ActivityBilling extends ActivityBase
|
||||
|
||||
if (Helper.isPlayStoreInstall() || isTesting(this)) {
|
||||
Log.i("IAB start");
|
||||
billingClient = BillingClient.newBuilder(this)
|
||||
billingClient = BillingClient.newBuilder(getApplicationContext())
|
||||
.enablePendingPurchases()
|
||||
.setListener(this)
|
||||
.build();
|
||||
|
||||
Reference in New Issue
Block a user