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 ++++- docs/Changelog.md | 3 ++- gradle.properties | 4 ++-- 7 files changed, 16 insertions(+), 12 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) 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 @@ + + + diff --git a/docs/Changelog.md b/docs/Changelog.md index f73f7e14..5eadd9ad 100644 --- a/docs/Changelog.md +++ b/docs/Changelog.md @@ -1,6 +1,6 @@ # Changelog -## v0.x +## v1.0 * Added more global preferences * Added fully customizable theme engine * Added support for in app billing @@ -10,6 +10,7 @@ * Added search option * Fixed up main layout * Fix some theme components +* Added behaviour settings ## v0.3 * Added rounded icons option diff --git a/gradle.properties b/gradle.properties index 868f1e95..249c9a9c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,8 +16,8 @@ APP_GROUP=com.pitchedapps MIN_SDK=21 TARGET_SDK=26 BUILD_TOOLS=26.0.0 -VERSION_CODE=6 -VERSION_NAME=0.6 +VERSION_CODE=7 +VERSION_NAME=1.0 KAU=e1e3b37000 KOTLIN=1.1.3 -- cgit v1.2.3