fix: FAB 组件占位器位置错误
This commit is contained in:
parent
b8f99d1008
commit
42cd133692
1 changed files with 5 additions and 2 deletions
|
|
@ -39,9 +39,12 @@ fun AnimatedExtendedFloatingActionButton(
|
|||
verticalAlignment = Alignment.CenterVertically
|
||||
) {
|
||||
icon()
|
||||
Spacer(Modifier.width(8.dp))
|
||||
// Spacer(Modifier.width(if (expanded) 8.dp else 0.dp))
|
||||
AnimatedVisibility(expanded) {
|
||||
text()
|
||||
Row {
|
||||
Spacer(Modifier.width(8.dp))
|
||||
text()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue