Skip to content

Commit

Permalink
fix: possible image cropping issue (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Dec 28, 2023
1 parent acaa163 commit 5a826b7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import androidx.compose.runtime.getValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.FilterQuality
import androidx.compose.ui.input.pointer.pointerInput
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.unit.dp
Expand Down Expand Up @@ -93,6 +94,7 @@ fun NowPlayingBodyCover(
.build(),
null,
contentScale = ContentScale.Crop,
filterQuality = FilterQuality.High,
modifier = Modifier
.fillMaxSize()
.clip(RoundedCornerShape(12.dp))
Expand Down

0 comments on commit 5a826b7

Please # to comment.