aboutsummaryrefslogtreecommitdiff
path: root/library/src/main/kotlin/ca
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-17 15:20:42 -0700
committerAllan Wang <me@allanwang.ca>2017-06-17 15:20:42 -0700
commit9832aed0ea96312e59ed75c788a1b843f1947a7e (patch)
treeaf424e936418d7d1d4b503ab3c71371d5fc3b55f /library/src/main/kotlin/ca
parentf2edadc54659bd37ee61825c52c54cc693d63b2a (diff)
downloadkau-9832aed0ea96312e59ed75c788a1b843f1947a7e.tar.gz
kau-9832aed0ea96312e59ed75c788a1b843f1947a7e.tar.bz2
kau-9832aed0ea96312e59ed75c788a1b843f1947a7e.zip
Add animations
Diffstat (limited to 'library/src/main/kotlin/ca')
-rw-r--r--library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefColorPicker.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefColorPicker.kt b/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefColorPicker.kt
index 9917ffb..2ec0a34 100644
--- a/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefColorPicker.kt
+++ b/library/src/main/kotlin/ca/allanwang/kau/kpref/items/KPrefColorPicker.kt
@@ -58,13 +58,12 @@ class KPrefColorPicker(val builder: KPrefColorContract) : KPrefItemBase<Int>(bui
* Default implementation of [KPrefColorContract]
*/
class KPrefColorBuilder(attributes: CoreAttributeContract,
- titleRes: Int,
+ override var titleRes: Int,
getter: () -> Int,
setter: (value: Int) -> Unit
) : KPrefColorContract, BaseContract<Int> by BaseBuilder<Int>(attributes, titleRes, getter, setter),
ColorContract by ColorBuilder() {
override var showPreview: Boolean = true
- override var titleRes: Int = -1
}
override fun getType(): Int = R.id.kau_item_pref_color_picker