Skip to content

Commit

Permalink
Migrate last app to appCompat
Browse files Browse the repository at this point in the history
  • Loading branch information
TacoTheDank committed Apr 21, 2020
1 parent cfd551d commit f4768c2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.physphil.android.unitconverterultimate

import android.app.Activity
import androidx.appcompat.app.AppCompatActivity
import android.content.Context
import com.android.billingclient.api.BillingClient
import com.android.billingclient.api.BillingClientStateListener
Expand Down Expand Up @@ -76,7 +76,7 @@ class BillingManager : PurchasesUpdatedListener {
}
}

fun donate(activity: Activity, donation: SkuDetails, listener: DonationResultListener) {
fun donate(activity: AppCompatActivity, donation: SkuDetails, listener: DonationResultListener) {
donationResultListener = listener
val flowParams = BillingFlowParams.newBuilder()
.setSkuDetails(donation)
Expand Down

0 comments on commit f4768c2

Please sign in to comment.