diff options
author | Allan Wang <me@allanwang.ca> | 2017-10-14 00:07:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-14 00:07:42 -0400 |
commit | a4b3e990228c90c53eaf3ca1424a1e5f6d582d07 (patch) | |
tree | 84e13c141485df3c527ce0d70d48ab1106978fd8 /app/src/main/kotlin/com/pitchedapps/frost/utils | |
parent | cf52d0f875c2c50a87143872a125966bfe23a0ad (diff) | |
download | frost-a4b3e990228c90c53eaf3ca1424a1e5f6d582d07.tar.gz frost-a4b3e990228c90c53eaf3ca1424a1e5f6d582d07.tar.bz2 frost-a4b3e990228c90c53eaf3ca1424a1e5f6d582d07.zip |
V1.5.8 (#410)v1.5.8
* Add show all to searchview
* Remove web search view
* Update kau
* Add translation links
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IabBinder.kt (renamed from app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IABBinder.kt) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IABBinder.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IabBinder.kt index 8aa3bcde..0e537f3a 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IABBinder.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IabBinder.kt @@ -37,7 +37,7 @@ interface FrostBilling : BillingProcessor.IBillingHandler { fun onActivityResultBilling(requestCode: Int, resultCode: Int, data: Intent?): Boolean } -abstract class IABBinder : FrostBilling { +abstract class IabBinder : FrostBilling { var bp: BillingProcessor? = null lateinit var activityRef: WeakReference<Activity> @@ -47,7 +47,7 @@ abstract class IABBinder : FrostBilling { override final fun Activity.onCreateBilling() { activityRef = WeakReference(this) doAsync { - bp = BillingProcessor.newBillingProcessor(this@onCreateBilling, PUBLIC_BILLING_KEY, this@IABBinder) + bp = BillingProcessor.newBillingProcessor(this@onCreateBilling, PUBLIC_BILLING_KEY, this@IabBinder) bp?.initialize() } } @@ -118,7 +118,7 @@ abstract class IABBinder : FrostBilling { } -class IABSettings : IABBinder() { +class IabSettings : IabBinder() { override fun onProductPurchased(productId: String, details: TransactionDetails?) { super.onProductPurchased(productId, details) @@ -150,7 +150,7 @@ class IABSettings : IABBinder() { } } -class IABMain : IABBinder() { +class IabMain : IabBinder() { override fun onBillingInitialized() { super.onBillingInitialized() |