Changed extended menu button separator design

This commit is contained in:
Abdelilah El Aissaoui 2022-10-22 15:53:56 +02:00
parent 039b6b2f76
commit 28c7ef0ac8

View file

@ -206,6 +206,12 @@ fun ExtendedMenuButton(
)
}
Box(
modifier = Modifier
.fillMaxHeight()
.background(MaterialTheme.colors.onPrimary.copy(alpha = 0.3f))
.width(2.dp)
)
Box(
modifier = Modifier
.width(24.dp)
@ -216,13 +222,6 @@ fun ExtendedMenuButton(
},
contentAlignment = Alignment.Center,
) {
Box(
modifier = Modifier
.fillMaxHeight()
.background(MaterialTheme.colors.onPrimary.copy(alpha = 0.5f))
.width(1.dp)
.align(Alignment.CenterStart)
)
Icon(
Icons.Default.ArrowDropDown,