From 8760cb29b8a37d15a1dcba018054d4010b90df21 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Fri, 30 Jun 2017 10:52:36 -0700 Subject: Change default custom theme --- app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt | 2 +- app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app/src/main/kotlin/com/pitchedapps') 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) -- cgit v1.2.3