Merge "EasterEgg: Remove unnecessary safe call on a non-null"

This commit is contained in:
Aurimas Liutikas
2019-07-24 20:22:23 +00:00
committed by Gerrit Code Review

View File

@@ -63,7 +63,7 @@ class BrushPropertyDrawable : Drawable {
}
override fun draw(c: Canvas) {
c?.let {
c.let {
val w = bounds.width().toFloat()
val h = bounds.height().toFloat()
val inset = _size / 12 // 2dp in a 24x24 icon