aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-23 17:31:58 -0700
committerAllan Wang <me@allanwang.ca>2017-06-23 17:31:58 -0700
commit0df43d971f1eb18a0e6ce7fa56fab11dfba154b8 (patch)
tree38dc2c527d5130b67a24055ae5b2afa185dae328 /sample/src/main
parent61b5d89a90964be6c41c64e9904ab7adfc0f61bb (diff)
downloadkau-0df43d971f1eb18a0e6ce7fa56fab11dfba154b8.tar.gz
kau-0df43d971f1eb18a0e6ce7fa56fab11dfba154b8.tar.bz2
kau-0df43d971f1eb18a0e6ce7fa56fab11dfba154b8.zip
Improve kpref text
Diffstat (limited to 'sample/src/main')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt4
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)
}