widget: fix inconsistent cover corner radius

Somehow the line that makes the corner sizes consistent was lost.
This commit is contained in:
Alexander Capehart
2023-04-16 17:29:09 -06:00
parent 20feba024e
commit 89d599ae4e
@@ -95,7 +95,9 @@ constructor(
return if (cornerRadius > 0) { return if (cornerRadius > 0) {
// If rounded, reduce the bitmap size further to obtain more pronounced // If rounded, reduce the bitmap size further to obtain more pronounced
// rounded corners. // rounded corners.
builder.transformations( builder
.size(getSafeRemoteViewsImageSize(context, 10f))
.transformations(
SquareFrameTransform.INSTANCE, SquareFrameTransform.INSTANCE,
RoundedCornersTransformation(cornerRadius.toFloat())) RoundedCornersTransformation(cornerRadius.toFloat()))
} else { } else {