diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-30 10:52:36 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-30 10:52:36 -0700 |
commit | 8760cb29b8a37d15a1dcba018054d4010b90df21 (patch) | |
tree | e2d955b91acd4a05e68ac70ca63a233f4b2baaaf /app/src | |
parent | 7267064d8a007e49bf05c3fc68b6338209a7c784 (diff) | |
download | frost-8760cb29b8a37d15a1dcba018054d4010b90df21.tar.gz frost-8760cb29b8a37d15a1dcba018054d4010b90df21.tar.bz2 frost-8760cb29b8a37d15a1dcba018054d4010b90df21.zip |
Change default custom theme
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/utils/L.kt | 2 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/utils/Prefs.kt | 8 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/strings_preferences | 4 | ||||
-rw-r--r-- | app/src/main/res/xml/changelog.xml | 5 |
5 files changed, 12 insertions, 9 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 <i>flow</i> 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.</string> + </string> <string name="library_dbflow_libraryWebsite">https://github.com/Raizlabs/DBFlow</string> <string name="library_dbflow_libraryVersion">4.0.4</string> <!-- OpenSource section --> 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 @@ <string name="exit_confirmation">Exit Confirmation</string> <string name="exit_confirmation_desc">Show confirmation dialog before exiting the app</string> <string name="analytics">Analytics</string> - <string name="analytics_desc">Enable anonymous analytics and crash reports to help improve the app. No personal information is ever exposed.</string> + <string name="analytics_desc">Enable anonymous analytics to help improve the app. No personal information is ever exposed.</string> <!--themes--> <string name="theme">Theme</string> @@ -53,6 +53,6 @@ <string name="search">Search Type</string> <string name="search_desc">Enable the search bar instead of a search overlay</string> <string name="verbose_logging">Verbose Logging</string> - <string name="verbose_logging_desc">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.</string> + <string name="verbose_logging_desc">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.</string> </resources>
\ 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 @@ --> - <version title="v0.x"/> + <version title="v1.0"/> <item text="Added more global preferences" /> <item text="Added fully customizable theme engine" /> <item text="Added support for in app billing" /> @@ -17,6 +17,9 @@ <item text="Added search option" /> <item text="Fixed up main layout" /> <item text="Fix some theme components" /> + <item text="Added behaviour settings" /> + <item text="" /> + <item text="" /> <item text="" /> <version title="v0.3" /> |