Fix navigation bar overlapping buttons in empty space view.
This commit is contained in:
parent
380102cc26
commit
38f9f9c386
1 changed files with 8 additions and 3 deletions
|
|
@ -115,6 +115,9 @@ fun HomeSpacesView(
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Ref: https://www.figma.com/design/pDlJZGBsri47FNTXMnEdXB/Compound-Android-Templates?node-id=1763-74215&t=9IGKMXHDfTGAqzQK-4
|
||||
*/
|
||||
@Composable
|
||||
private fun EmptySpaceHomeView(
|
||||
onCreateSpaceClick: () -> Unit,
|
||||
|
|
@ -144,7 +147,10 @@ private fun EmptySpaceHomeView(
|
|||
}
|
||||
},
|
||||
footer = {
|
||||
ButtonColumnMolecule {
|
||||
ButtonColumnMolecule(
|
||||
// Add a padding bottom for the navigation bar
|
||||
modifier = Modifier.padding(bottom = 112.dp)
|
||||
) {
|
||||
Button(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
text = stringResource(CommonStrings.action_create_space),
|
||||
|
|
@ -159,8 +165,7 @@ private fun EmptySpaceHomeView(
|
|||
}
|
||||
}
|
||||
}
|
||||
) {
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
@PreviewsDayNight
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue