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-03-25 15:54:06 -06:00
parent 67e67ca1d0
commit 5de1e221ac
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -95,7 +95,9 @@ constructor(
return if (cornerRadius > 0) {
// If rounded, reduce the bitmap size further to obtain more pronounced
// rounded corners.
builder.transformations(
builder
.size(getSafeRemoteViewsImageSize(context, 10f))
.transformations(
SquareFrameTransform.INSTANCE,
RoundedCornersTransformation(cornerRadius.toFloat()))
} else {