From c2bdcc4c50d03678e2c9200b11dd96395be82652 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Thu, 22 Jun 2017 11:20:25 -0700 Subject: Inherit title from subitem title --- sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt | 1 - 1 file changed, 1 deletion(-) (limited to 'sample') 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(R.string.text, { KPrefSample.text }, { KPrefSample.text = it }) { descRes = R.string.text_desc onClick = { -- cgit v1.2.3