diff options
-rw-r--r-- | app/build.gradle | 2 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt | 2 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt | 2 | ||||
-rw-r--r-- | gradle.properties | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/app/build.gradle b/app/build.gradle index 2c9c2c25..ea57331f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -160,7 +160,7 @@ dependencies { debugImplementation "com.squareup.leakcanary:leakcanary-android:${LEAK_CANARY}" releaseTestImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${LEAK_CANARY}" releaseImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${LEAK_CANARY}" - testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${LEAK_CANARY}" +// testImplementation "com.squareup.leakcanary:leakcanary-android-no-op:${LEAK_CANARY}" implementation "com.github.Raizlabs.DBFlow:dbflow:${DBFLOW}" implementation "com.github.Raizlabs.DBFlow:dbflow-core:${DBFLOW}" diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt index 0dd246da..9a2eddb6 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Appearance.kt @@ -57,7 +57,7 @@ fun SettingsActivity.getAppearancePrefs(): KPrefAdapterBuilder.() -> Unit = { fun KPrefColorPicker.KPrefColorContract.dependsOnCustom() { enabler = { Prefs.isCustomTheme } - onDisabledClick = { itemView, _, _ -> frostSnackbar(R.string.requires_custom_theme); true } + onDisabledClick = { _, _, _ -> frostSnackbar(R.string.requires_custom_theme); true } allowCustom = true } diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt index 22b628e9..1dbf651e 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt @@ -63,7 +63,7 @@ open class FrostWebViewClient(val webCore: FrostWebViewCore) : BaseWebViewClient c.launchNewTask(LoginActivity::class.java) } - fun injectBackgroundColor() + private fun injectBackgroundColor() = webCore.setBackgroundColor(if (isMain) Color.TRANSPARENT else Prefs.bgColor.withAlpha(255)) diff --git a/gradle.properties b/gradle.properties index 6d2d2a98..eaad7a8f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,8 +17,8 @@ MIN_SDK=21 TARGET_SDK=26 BUILD_TOOLS=26.0.1 -KAU=580c6bc -KOTLIN=1.1.4 +KAU=e6a5078 +KOTLIN=1.1.4-2 COMMONS_TEXT=1.1 CRASHLYTICS=2.6.8 @@ -30,7 +30,7 @@ JSOUP=1.10.3 LEAK_CANARY=1.5.1 MATERIAL_DRAWER_KT=1.0.6 OKHTTP=3.8.1 -PAPER_PARCEL=2.0.1 +PAPER_PARCEL=2.0.2 ROBOELECTRIC=3.4 RX_ANDROID=2.0.1 RX_BINDING=2.0.0 |