Remove compact clock widget divider when no clock is selected
Close #1098
This commit is contained in:
parent
8c4bfb7dc9
commit
62a45c55be
@ -213,15 +213,17 @@ fun ClockWidget(
|
||||
provider = partProvider,
|
||||
)
|
||||
}
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.padding(horizontal = 16.dp)
|
||||
.height(56.dp)
|
||||
.width(2.dp)
|
||||
.background(
|
||||
LocalContentColor.current
|
||||
),
|
||||
)
|
||||
if (clockStyle !is ClockWidgetStyle.Empty) {
|
||||
Box(
|
||||
modifier = Modifier
|
||||
.padding(horizontal = 16.dp)
|
||||
.height(56.dp)
|
||||
.width(2.dp)
|
||||
.background(
|
||||
LocalContentColor.current
|
||||
),
|
||||
)
|
||||
}
|
||||
Box(
|
||||
modifier = Modifier.clickable(
|
||||
enabled = clockStyle !is ClockWidgetStyle.Empty,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user