This commit is contained in:
Yair Morgenstern
2022-11-07 18:20:19 +02:00
parent 01d95652c0
commit b0c84f5eea
11 changed files with 43 additions and 233 deletions

View File

@ -21,9 +21,7 @@ class ImageWithCustomSize(drawable: Drawable) : Image(drawable) {
width
} else if (drawable != null) {
drawable.minWidth
} else {
0f
}
} else 0f
}
override fun getPrefHeight(): Float {
@ -31,8 +29,6 @@ class ImageWithCustomSize(drawable: Drawable) : Image(drawable) {
height
} else if (drawable != null) {
drawable.minHeight
} else {
0f
}
} else 0f
}
}