widgets: downsize widget images in round mode

This commit is contained in:
Alexander Capehart 2024-07-20 21:42:00 -06:00
parent 2ecb94c97e
commit 272f7e4047
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47

View file

@ -99,7 +99,7 @@ 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.size(getSafeRemoteViewsImageSize(context, 10f)) builder.size(getSafeRemoteViewsImageSize(context, 11f))
val cornersTransformation = val cornersTransformation =
RoundedRectTransformation(cornerRadius.toFloat()) RoundedRectTransformation(cornerRadius.toFloat())
if (imageSettings.forceSquareCovers) { if (imageSettings.forceSquareCovers) {