aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-30 10:52:36 -0700
committerAllan Wang <me@allanwang.ca>2017-06-30 10:52:36 -0700
commit8760cb29b8a37d15a1dcba018054d4010b90df21 (patch)
treee2d955b91acd4a05e68ac70ca63a233f4b2baaaf /app/src/main/kotlin
parent7267064d8a007e49bf05c3fc68b6338209a7c784 (diff)
downloadfrost-8760cb29b8a37d15a1dcba018054d4010b90df21.tar.gz
frost-8760cb29b8a37d15a1dcba018054d4010b90df21.tar.bz2
frost-8760cb29b8a37d15a1dcba018054d4010b90df21.zip
Change default custom theme
Diffstat (limited to 'app/src/main/kotlin')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt2
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt8
2 files changed, 5 insertions, 5 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
index dcf97265..86731357 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt
@@ -23,7 +23,7 @@ object L : TimberLogger("Frost") {
*/
fun d(tag: String, personal: String?) {
L.d(tag)
- if (personal != null) L.i(personal)
+ L.i("-\t$personal")
}
}
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
index 287e0d7d..cc815c55 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt
@@ -24,13 +24,13 @@ object Prefs : KPref() {
var theme: Int by kpref("theme", 0, postSetter = { _: Int -> loader.invalidate() })
- var customTextColor: Int by kpref("color_text", Color.WHITE)
+ var customTextColor: Int by kpref("color_text", 0xffeceff1.toInt())
- var customBackgroundColor: Int by kpref("color_bg", 0xff37474f.toInt())
+ var customBackgroundColor: Int by kpref("color_bg", 0xff212121.toInt())
- var customHeaderColor: Int by kpref("color_header", 0xff039be5.toInt())
+ var customHeaderColor: Int by kpref("color_header", 0xff01579b.toInt())
- var customIconColor: Int by kpref("color_icons", Color.WHITE)
+ var customIconColor: Int by kpref("color_icons", 0xffeceff1.toInt())
var exitConfirmation: Boolean by kpref("exit_confirmation", true)