Skip to content

Commit

Permalink
ui: Compose 1.7 miniplayer fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mikooomich committed Jan 10, 2025
1 parent 92fc3d2 commit 7e819fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/dd3boh/outertune/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ class MainActivity : ComponentActivity() {

val playerBottomSheetState = rememberBottomSheetState(
dismissedBound = 0.dp,
collapsedBound = bottomInset + getNavPadding() + MiniPlayerHeight + 4.dp,
collapsedBound = bottomInset + getNavPadding() + MiniPlayerHeight,
expandedBound = maxHeight,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ fun MiniPlayer(
) {
LinearProgressIndicator(
progress = { (position.toFloat() / duration).coerceIn(0f, 1f) },
drawStopIndicator = { },
modifier = Modifier
.fillMaxWidth()
.height(2.dp)
Expand Down

0 comments on commit 7e819fc

Please sign in to comment.