aboutsummaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sample')
-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)
}