Refactor: Make ContinueWatchingCard's progress bar floating.

This commit is contained in:
2026-01-25 13:33:52 +01:00
parent 9b2f4dfce5
commit f81e8f61fe

View File

@@ -119,6 +119,8 @@ fun ContinueWatchingCard(
Box( Box(
modifier = Modifier modifier = Modifier
.align(Alignment.BottomStart) .align(Alignment.BottomStart)
.padding(bottom = 8.dp, start = 8.dp, end = 8.dp)
.clip(RoundedCornerShape(24.dp))
.fillMaxWidth() .fillMaxWidth()
.height(4.dp) .height(4.dp)
.background(scheme.onBackground.copy(alpha = 0.2f)) .background(scheme.onBackground.copy(alpha = 0.2f))
@@ -132,7 +134,7 @@ fun ContinueWatchingCard(
} }
IconButton( IconButton(
modifier = Modifier.align(Alignment.BottomEnd) modifier = Modifier.align(Alignment.BottomEnd)
.padding(end = 8.dp, bottom = 8.dp) .padding(end = 8.dp, bottom = 16.dp)
.clip(CircleShape) .clip(CircleShape)
.background(scheme.secondary) .background(scheme.secondary)
.size(36.dp), .size(36.dp),