aboutsummaryrefslogtreecommitdiff
path: root/sample/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-22 11:20:25 -0700
committerAllan Wang <me@allanwang.ca>2017-06-22 11:20:25 -0700
commitc2bdcc4c50d03678e2c9200b11dd96395be82652 (patch)
treeb909510d7e9e1283dbd108d35f12ef06d3143400 /sample/src
parentc39611eb051edff769d5dd3bc9ffa6f1580bb96b (diff)
downloadkau-c2bdcc4c50d03678e2c9200b11dd96395be82652.tar.gz
kau-c2bdcc4c50d03678e2c9200b11dd96395be82652.tar.bz2
kau-c2bdcc4c50d03678e2c9200b11dd96395be82652.zip
Inherit title from subitem title
Diffstat (limited to 'sample/src')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt1
1 files changed, 0 insertions, 1 deletions
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
index 0ec6ca0..849b49a 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
@@ -97,7 +97,6 @@ class MainActivity : KPrefActivity() {
}
fun subPrefs(): KPrefAdapterBuilder.() -> Unit = {
- toolbarTitleRes = R.string.sub_item
text<String>(R.string.text, { KPrefSample.text }, { KPrefSample.text = it }) {
descRes = R.string.text_desc
onClick = {