diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-23 17:31:58 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-23 17:31:58 -0700 |
commit | 0df43d971f1eb18a0e6ce7fa56fab11dfba154b8 (patch) | |
tree | 38dc2c527d5130b67a24055ae5b2afa185dae328 /sample/src/main/kotlin | |
parent | 61b5d89a90964be6c41c64e9904ab7adfc0f61bb (diff) | |
download | kau-0df43d971f1eb18a0e6ce7fa56fab11dfba154b8.tar.gz kau-0df43d971f1eb18a0e6ce7fa56fab11dfba154b8.tar.bz2 kau-0df43d971f1eb18a0e6ce7fa56fab11dfba154b8.zip |
Improve kpref text
Diffstat (limited to 'sample/src/main/kotlin')
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt | 4 |
1 files changed, 2 insertions, 2 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 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) } |