widget: fix inconsistent cover corner radius
Somehow the line that makes the corner sizes consistent was lost.
This commit is contained in:
parent
67e67ca1d0
commit
5de1e221ac
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue