aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/kotlin/ca/allanwang
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-19 20:06:32 -0700
committerAllan Wang <me@allanwang.ca>2017-06-19 20:06:32 -0700
commit1e10288d5e05f81b727db57f638f83b1702caa69 (patch)
treed8c6a3778b91c16154dbefd16cb42af15f5f95d6 /library/src/main/kotlin/ca/allanwang
parentde0836ae903ccd6ee75d27e4c7e59fbcc1eb364c (diff)
downloadkau-1e10288d5e05f81b727db57f638f83b1702caa69.tar.gz
kau-1e10288d5e05f81b727db57f638f83b1702caa69.tar.bz2
kau-1e10288d5e05f81b727db57f638f83b1702caa69.zip
Misc fixes and changelog
Diffstat (limited to 'library/src/main/kotlin/ca/allanwang')
-rw-r--r--library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt2
-rw-r--r--library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefHeader.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt b/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt
index 58ba3f3..d2ea985 100644
--- a/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt
+++ b/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt
@@ -51,7 +51,7 @@ internal fun parse(context: Context, @XmlRes xmlRes: Int): List<Pair<String, Cha
}
internal enum class ChangelogType(val tag: String, val attr: String, @LayoutRes val layout: Int) {
- TITLE("titleRes", "version", R.layout.kau_changelog_title),
+ TITLE("title", "version", R.layout.kau_changelog_title),
ITEM("item", "text", R.layout.kau_changelog_content);
companion object {
diff --git a/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefHeader.kt b/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefHeader.kt
index 294aec0..c50556d 100644
--- a/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefHeader.kt
+++ b/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefHeader.kt
@@ -7,7 +7,7 @@ import ca.allanwang.kau.R
* Created by Allan Wang on 2017-06-07.
*
* Header preference
- * This view just holds a titleRes and is not clickable. It is styled using the accent color
+ * This view just holds a title and is not clickable. It is styled using the accent color
*/
class KPrefHeader(builder: CoreContract) : KPrefItemCore(builder) {