aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/utils
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-11-09 01:54:12 -0500
committerGitHub <noreply@github.com>2017-11-09 01:54:12 -0500
commite1c12f7716511d15e7534b959370619ebf04af81 (patch)
treefe8af0e01c6dc44f869b165b15b991ac9caee22a /app/src/main/kotlin/com/pitchedapps/frost/utils
parentfc4a018d4862f6d64b6a4c737d90c46574bbf92b (diff)
downloadfrost-e1c12f7716511d15e7534b959370619ebf04af81.tar.gz
frost-e1c12f7716511d15e7534b959370619ebf04af81.tar.bz2
frost-e1c12f7716511d15e7534b959370619ebf04af81.zip
Update/kau (#476)
* Update all dependencies * Revert to working build * Update kau again * Update nullables * Update more nullables * Inline some things * Add images to readme * Update readme translators
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/iab/IabBinder.kt4
1 files changed, 2 insertions, 2 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 15c0f9a8..64fc9cb8 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
@@ -26,8 +26,8 @@ private const val FROST_PRO = "frost_pro"
* Implemented pro checker with a hook for debug builds
* Use this when checking if the pro feature is enabled
*/
-val IS_FROST_PRO: Boolean
- get() = (BuildConfig.DEBUG && Prefs.debugPro) || Prefs.pro
+inline val IS_FROST_PRO: Boolean
+ get() = Prefs.pro || (BuildConfig.DEBUG && Prefs.debugPro)
interface FrostBilling : BillingProcessor.IBillingHandler {
fun Activity.onCreateBilling()