aboutsummaryrefslogtreecommitdiff
path: root/fastadapter/src
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-08-16 00:11:37 -0700
committerGitHub <noreply@github.com>2019-08-16 00:11:37 -0700
commita9407288fad0d30e71e2f6862b66533e043f9311 (patch)
treea357e6cd419123d69ca5d2977c8ce839c56f3d87 /fastadapter/src
parent807a3661e4d234c525ea855ebb7a43a02d5184a1 (diff)
parent5aefeee08f68777dd07a16bd42a7d2392db6bbc9 (diff)
downloadkau-a9407288fad0d30e71e2f6862b66533e043f9311.tar.gz
kau-a9407288fad0d30e71e2f6862b66533e043f9311.tar.bz2
kau-a9407288fad0d30e71e2f6862b66533e043f9311.zip
Merge pull request #225 from AllanWang/versions
Versions
Diffstat (limited to 'fastadapter/src')
-rw-r--r--fastadapter/src/main/kotlin/ca/allanwang/kau/adapters/FastItemThemedAdapter.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastadapter/src/main/kotlin/ca/allanwang/kau/adapters/FastItemThemedAdapter.kt b/fastadapter/src/main/kotlin/ca/allanwang/kau/adapters/FastItemThemedAdapter.kt
index 5531f59..be98ffa 100644
--- a/fastadapter/src/main/kotlin/ca/allanwang/kau/adapters/FastItemThemedAdapter.kt
+++ b/fastadapter/src/main/kotlin/ca/allanwang/kau/adapters/FastItemThemedAdapter.kt
@@ -159,7 +159,7 @@ class ThemableIItemDelegate : ThemableIItem, ThemableIItemColors by ThemableIIte
override fun bindBackgroundRipple(vararg views: View?) {
val background = backgroundColor ?: return
val foreground = accentColor ?: textColor ?: backgroundColor
- ?: return //default to normal background
+ ?: return // default to normal background
val ripple = createSimpleRippleDrawable(foreground, background)
views.forEach { it?.background = ripple }
}