aboutsummaryrefslogtreecommitdiff
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
parent7267064d8a007e49bf05c3fc68b6338209a7c784 (diff)
downloadfrost-8760cb29b8a37d15a1dcba018054d4010b90df21.tar.gz
frost-8760cb29b8a37d15a1dcba018054d4010b90df21.tar.bz2
frost-8760cb29b8a37d15a1dcba018054d4010b90df21.zip
Change default custom theme
-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
-rw-r--r--app/src/main/res/values/strings.xml2
-rw-r--r--app/src/main/res/values/strings_preferences4
-rw-r--r--app/src/main/res/xml/changelog.xml5
-rw-r--r--docs/Changelog.md3
-rw-r--r--gradle.properties4
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 <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" />
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