diff --git a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/spaces/HomeSpacesView.kt b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/spaces/HomeSpacesView.kt index b1000ecc39..4e93cec22d 100644 --- a/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/spaces/HomeSpacesView.kt +++ b/features/home/impl/src/main/kotlin/io/element/android/features/home/impl/spaces/HomeSpacesView.kt @@ -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