aboutsummaryrefslogtreecommitdiff
path: root/core-ui/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-09-26 09:49:46 -0400
committerAllan Wang <me@allanwang.ca>2018-09-26 09:49:46 -0400
commitf37d7782b7d0269755348b41bfa63dbd50593a6b (patch)
treed763168e5e1e064985059253534c4aa32bfa9917 /core-ui/src/main
parent4b38bf156c67e2d6b3a649624bbcb12edbb52232 (diff)
downloadkau-f37d7782b7d0269755348b41bfa63dbd50593a6b.tar.gz
kau-f37d7782b7d0269755348b41bfa63dbd50593a6b.tar.bz2
kau-f37d7782b7d0269755348b41bfa63dbd50593a6b.zip
Update versions and begin kpref update
Diffstat (limited to 'core-ui/src/main')
-rw-r--r--core-ui/src/main/kotlin/ca/allanwang/kau/ui/views/CutoutView.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core-ui/src/main/kotlin/ca/allanwang/kau/ui/views/CutoutView.kt b/core-ui/src/main/kotlin/ca/allanwang/kau/ui/views/CutoutView.kt
index eeaac6e..f6f7864 100644
--- a/core-ui/src/main/kotlin/ca/allanwang/kau/ui/views/CutoutView.kt
+++ b/core-ui/src/main/kotlin/ca/allanwang/kau/ui/views/CutoutView.kt
@@ -82,7 +82,7 @@ class CutoutView @JvmOverloads constructor(
if (attrs != null) {
val a = context.obtainStyledAttributes(attrs, R.styleable.CutoutView, 0, 0)
if (a.hasValue(R.styleable.CutoutView_font))
- paint.typeface = context.getFont(a.getString(R.styleable.CutoutView_font))
+ paint.typeface = context.getFont(a.getString(R.styleable.CutoutView_font)!!)
foregroundColor = a.getColor(R.styleable.CutoutView_foregroundColor, foregroundColor)
text = a.getString(R.styleable.CutoutView_android_text) ?: text
minHeight = a.getDimension(R.styleable.CutoutView_android_minHeight, minHeight)