fixup! impr: add animation
This commit is contained in:
parent
d0347426c3
commit
ec4ee64d68
@ -282,11 +282,13 @@ fun ScheduleItem(modifier: Modifier = Modifier, unit: ScheduleUnit, expanded: Bo
|
||||
horizontalArrangement = Arrangement.SpaceBetween,
|
||||
verticalAlignment = Alignment.CenterVertically) {
|
||||
Text(begin.toString(), fontWeight = FontWeight.Bold)
|
||||
AnimatedVisibility ((0f < rel) and (rel < 1f)) {
|
||||
AnimatedVisibility (
|
||||
(0f < rel) and (rel < 1f),
|
||||
modifier = Modifier
|
||||
.weight(1f)
|
||||
.padding(horizontal = 2.dp)
|
||||
) {
|
||||
DividerWithMarker(
|
||||
Modifier
|
||||
.weight(1f)
|
||||
.padding(horizontal = 2.dp),
|
||||
positionPercentage = rel,
|
||||
color = MaterialTheme.colorScheme.outline,
|
||||
thickness = 3.dp,
|
||||
|
Loading…
x
Reference in New Issue
Block a user