forked from upstream-mirrors/quik
Remove unnecessary billingClientResponseCode var
This commit is contained in:
@@ -40,7 +40,6 @@ class BillingManager @Inject constructor(context: Context) : PurchasesUpdatedLis
|
|||||||
|
|
||||||
private val billingClient: BillingClient = BillingClient.newBuilder(context).setListener(this).build()
|
private val billingClient: BillingClient = BillingClient.newBuilder(context).setListener(this).build()
|
||||||
private var isServiceConnected = false
|
private var isServiceConnected = false
|
||||||
private var billingClientResponseCode: Int? = null
|
|
||||||
|
|
||||||
init {
|
init {
|
||||||
startServiceConnection {
|
startServiceConnection {
|
||||||
@@ -75,7 +74,6 @@ class BillingManager @Inject constructor(context: Context) : PurchasesUpdatedLis
|
|||||||
isServiceConnected = true
|
isServiceConnected = true
|
||||||
onSuccess()
|
onSuccess()
|
||||||
}
|
}
|
||||||
billingClientResponseCode = billingResponseCode
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onBillingServiceDisconnected() {
|
override fun onBillingServiceDisconnected() {
|
||||||
|
|||||||
Reference in New Issue
Block a user