aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-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
-rw-r--r--library/src/main/res/xml/kau_changelog.xml2
3 files changed, 3 insertions, 3 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) {
diff --git a/library/src/main/res/xml/kau_changelog.xml b/library/src/main/res/xml/kau_changelog.xml
index e778b5f..e570995 100644
--- a/library/src/main/res/xml/kau_changelog.xml
+++ b/library/src/main/res/xml/kau_changelog.xml
@@ -4,7 +4,7 @@
<!--This is a template-->
<!--
- <version titleRes="v"/>
+ <version title="v"/>
<item text="" />
-->