aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-05 23:12:16 -0700
committerAllan Wang <me@allanwang.ca>2017-07-05 23:12:16 -0700
commitf5723823c79b616093c8b0bb4f0c3e4fab9c7fd3 (patch)
treedba45c9ced23526964742f024a537bf646651e71
parent9f9e815e313746a193134beeef7cf8bcf2762a55 (diff)
downloadfrost-f5723823c79b616093c8b0bb4f0c3e4fab9c7fd3.tar.gz
frost-f5723823c79b616093c8b0bb4f0c3e4fab9c7fd3.tar.bz2
frost-f5723823c79b616093c8b0bb4f0c3e4fab9c7fd3.zip
Fix swipe backgroundv1.1.2
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt2
-rw-r--r--gradle.properties2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt
index 44a392b9..a3124dea 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt
@@ -103,7 +103,7 @@ fun MaterialDialog.Builder.theme(): MaterialDialog.Builder {
fun Activity.setFrostTheme(forceTransparent: Boolean = false) {
val isTransparent = (Color.alpha(Prefs.bgColor) != 255) || forceTransparent
- if (Prefs.bgColor.isColorDark())
+ if (Prefs.bgColor.isColorDark)
setTheme(if (isTransparent) R.style.FrostTheme_Transparent else R.style.FrostTheme)
else
setTheme(if (isTransparent) R.style.FrostTheme_Light_Transparent else R.style.FrostTheme_Light)
diff --git a/gradle.properties b/gradle.properties
index f55661b6..c5633161 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,7 +17,7 @@ MIN_SDK=21
TARGET_SDK=26
BUILD_TOOLS=26.0.0
-KAU=27fcb08588
+KAU=e3a12337d6
KOTLIN=1.1.3
MATERIAL_DRAWER=5.9.3
MATERIAL_DRAWER_KT=1.0.4