Leave space: Fix UI issue on top bar.
This commit is contained in:
parent
ccf34dc631
commit
c83fda1cad
1 changed files with 6 additions and 4 deletions
|
|
@ -71,6 +71,12 @@ fun LeaveSpaceView(
|
|||
) {
|
||||
Scaffold(
|
||||
modifier = modifier,
|
||||
topBar = {
|
||||
LeaveSpaceHeader(
|
||||
state = state,
|
||||
onBackClick = onCancel,
|
||||
)
|
||||
},
|
||||
containerColor = ElementTheme.colors.bgCanvasDefault,
|
||||
) { padding ->
|
||||
Column(
|
||||
|
|
@ -81,10 +87,6 @@ fun LeaveSpaceView(
|
|||
.fillMaxSize()
|
||||
.padding(16.dp)
|
||||
) {
|
||||
LeaveSpaceHeader(
|
||||
state = state,
|
||||
onBackClick = onCancel,
|
||||
)
|
||||
LazyColumn(
|
||||
modifier = Modifier
|
||||
.weight(1f),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue