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 ++++---- app/src/main/res/values/strings.xml | 2 +- app/src/main/res/values/strings_preferences | 4 ++-- app/src/main/res/xml/changelog.xml | 5 ++++- 5 files changed, 12 insertions(+), 9 deletions(-) (limited to 'app') 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) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 61995b93..5e4fe3ba 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -67,7 +67,7 @@ The library is built on speed, performance, and approachability. It not only eliminates most boiler-plate code for dealing with databases, but also provides a powerful and simple API to manage interactions. Let DBFlow make SQL code flow like a steady stream so you can focus on writing amazing apps. ]]> - A robust, powerful, and very simple ORM android database library with annotation processing. + https://github.com/Raizlabs/DBFlow 4.0.4 diff --git a/app/src/main/res/values/strings_preferences b/app/src/main/res/values/strings_preferences index 2d3fce68..afa41943 100644 --- a/app/src/main/res/values/strings_preferences +++ b/app/src/main/res/values/strings_preferences @@ -13,7 +13,7 @@ Exit Confirmation Show confirmation dialog before exiting the app Analytics - Enable anonymous analytics and crash reports to help improve the app. No personal information is ever exposed. + Enable anonymous analytics to help improve the app. No personal information is ever exposed. Theme @@ -53,6 +53,6 @@ Search Type Enable the search bar instead of a search overlay Verbose Logging - Enable verbose logging to help with crash reports. Logging will only be sent once an error is encountered, so repeat the issue to notify the dev.\nAnalytics must also be enabled under the behaviour settings. + Enable verbose logging to help with crash reports. Logging will only be sent once an error is encountered, so repeat the issue to notify the dev. \ No newline at end of file diff --git a/app/src/main/res/xml/changelog.xml b/app/src/main/res/xml/changelog.xml index f85aaf53..ed64c75e 100644 --- a/app/src/main/res/xml/changelog.xml +++ b/app/src/main/res/xml/changelog.xml @@ -7,7 +7,7 @@ --> - + @@ -17,6 +17,9 @@ + + + -- cgit v1.2.3