From 0df43d971f1eb18a0e6ce7fa56fab11dfba154b8 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Fri, 23 Jun 2017 17:31:58 -0700 Subject: Improve kpref text --- sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sample/src') 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 bb1fcff..460d993 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt @@ -82,7 +82,7 @@ class MainActivity : KPrefActivity() { input("Type here", item.pref, { _, input -> item.pref = input.toString() - reloadByTitle(R.string.text) + reloadSelf() }) inputRange(0, 20) } @@ -105,7 +105,7 @@ class MainActivity : KPrefActivity() { input("Type here", item.pref, { _, input -> item.pref = input.toString() - reloadByTitle(R.string.text) + reloadSelf() }) inputRange(0, 20) } -- cgit v1.2.3