diff options
Diffstat (limited to 'library/src/main/kotlin')
-rw-r--r-- | library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt | 2 | ||||
-rw-r--r-- | library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefHeader.kt | 2 |
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) { |