diff options
Diffstat (limited to 'about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt')
-rw-r--r-- | about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt b/about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt index 2a1588c..addbe5f 100644 --- a/about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt +++ b/about/src/main/kotlin/ca/allanwang/kau/about/CutoutIItem.kt @@ -27,9 +27,11 @@ import ca.allanwang.kau.ui.views.CutoutView * * Just a cutout item with some defaults in [R.layout.kau_iitem_cutout] */ -class CutoutIItem(val config: CutoutView.() -> Unit = {}) : KauIItem<CutoutIItem.ViewHolder>( - R.layout.kau_iitem_cutout, ::ViewHolder, R.id.kau_item_cutout -), ThemableIItem by ThemableIItemDelegate() { +class CutoutIItem(val config: CutoutView.() -> Unit = {}) : + KauIItem<CutoutIItem.ViewHolder>( + R.layout.kau_iitem_cutout, ::ViewHolder, R.id.kau_item_cutout + ), + ThemableIItem by ThemableIItemDelegate() { override var isSelectable: Boolean get() = false |