aboutsummaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-11 13:25:16 -0700
committerAllan Wang <me@allanwang.ca>2017-06-11 13:25:16 -0700
commit37714d62238efb754a689e6bbcadd8d8f934f704 (patch)
treedada0b9cbef51473e31c74f595fd916f77edcfa6 /sample
parentb7a493facf1152bc1de872e39cbc299640127bf4 (diff)
downloadkau-37714d62238efb754a689e6bbcadd8d8f934f704.tar.gz
kau-37714d62238efb754a689e6bbcadd8d8f934f704.tar.bz2
kau-37714d62238efb754a689e6bbcadd8d8f934f704.zip
Switch to ConstraintLayout
Diffstat (limited to 'sample')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt2
1 files changed, 1 insertions, 1 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 914fff8..cb1cd77 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/MainActivity.kt
@@ -20,7 +20,7 @@ class MainActivity : KPrefActivity() {
checkbox(title = R.string.checkbox_1, description = R.string.desc,
getter = { KPrefSample.check1 }, setter = { KPrefSample.check1 = it })
checkbox(title = R.string.checkbox_2,
- getter = { KPrefSample.check2 }, setter = { KPrefSample.check2 = it; reloadByTitle(R.string.checkbox_3) })
+ getter = { KPrefSample.check2 }, setter = { KPrefSample.check2 = it; reload(3) })
checkbox(title = R.string.checkbox_3, description = R.string.desc_dependent, enabler = { KPrefSample.check2 },
getter = { KPrefSample.check3 }, setter = { KPrefSample.check3 = it })
colorPicker(title = R.string.text_color, description = R.string.color_custom,