Fix navigation bar overlapping buttons in empty space view.
This commit is contained in:
parent
f0f6b92b5e
commit
56165b2faf
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
|
@Composable
|
||||||
private fun EmptySpaceHomeView(
|
private fun EmptySpaceHomeView(
|
||||||
onCreateSpaceClick: () -> Unit,
|
onCreateSpaceClick: () -> Unit,
|
||||||
|
|
@ -144,7 +147,10 @@ private fun EmptySpaceHomeView(
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
footer = {
|
footer = {
|
||||||
ButtonColumnMolecule {
|
ButtonColumnMolecule(
|
||||||
|
// Add a padding bottom for the navigation bar
|
||||||
|
modifier = Modifier.padding(bottom = 112.dp)
|
||||||
|
) {
|
||||||
Button(
|
Button(
|
||||||
modifier = Modifier.fillMaxWidth(),
|
modifier = Modifier.fillMaxWidth(),
|
||||||
text = stringResource(CommonStrings.action_create_space),
|
text = stringResource(CommonStrings.action_create_space),
|
||||||
|
|
@ -159,8 +165,7 @@ private fun EmptySpaceHomeView(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
) {
|
)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@PreviewsDayNight
|
@PreviewsDayNight
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue