Skip to content

Commit 38811cc

Browse files
mmarca-techclaude
andcommitted
widgets: reformat
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 1cc0cb2 commit 38811cc

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

app/src/main/java/org/oxycblt/auxio/widgets/WidgetComponent.kt

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ private constructor(
126126
// event, including progression changes. The corner radius applied below is an
127127
// absolute pixel value sized for the widget, so bounding the bitmap also
128128
// makes that radius land at roughly the intended proportion.
129-
return builder
130-
.size(COVER_MAX_PX, COVER_MAX_PX)
131-
.transformations(transformations)
129+
return builder.size(COVER_MAX_PX, COVER_MAX_PX).transformations(transformations)
132130
}
133131

134132
override fun onCompleted(bitmap: Bitmap?) {
@@ -198,8 +196,8 @@ private constructor(
198196

199197
private companion object {
200198
/**
201-
* Upper bound for the cover bitmap handed to the widget. Comfortably above any widget
202-
* cover a phone will actually draw, and 1MB as ARGB_8888 rather than the tens of MB a
199+
* Upper bound for the cover bitmap handed to the widget. Comfortably above any widget cover
200+
* a phone will actually draw, and 1MB as ARGB_8888 rather than the tens of MB a
203201
* native-resolution decode can reach.
204202
*/
205203
const val COVER_MAX_PX = 512

0 commit comments

Comments
 (0)