Remove unnecessary billingClientResponseCode var

This commit is contained in:
Moez Bhatti
2018-01-24 18:49:33 -05:00
parent 947d936265
commit 24d6d19c77
@@ -40,7 +40,6 @@ class BillingManager @Inject constructor(context: Context) : PurchasesUpdatedLis
private val billingClient: BillingClient = BillingClient.newBuilder(context).setListener(this).build()
private var isServiceConnected = false
private var billingClientResponseCode: Int? = null
init {
startServiceConnection {
@@ -75,7 +74,6 @@ class BillingManager @Inject constructor(context: Context) : PurchasesUpdatedLis
isServiceConnected = true
onSuccess()
}
billingClientResponseCode = billingResponseCode
}
override fun onBillingServiceDisconnected() {