From c8d03a9c9d509d77eabbd54c3d60e329a4da1178 Mon Sep 17 00:00:00 2001 From: vfsfitvnm Date: Thu, 13 Oct 2022 12:52:00 +0200 Subject: [PATCH] Update HeaderPlaceholder to reflect changes --- .../it/vfsfitvnm/vimusic/ui/components/themed/Header.kt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/components/themed/Header.kt b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/components/themed/Header.kt index 484f969..b848979 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/components/themed/Header.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/components/themed/Header.kt @@ -3,7 +3,6 @@ package it.vfsfitvnm.vimusic.ui.components.themed import androidx.compose.foundation.background import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Box -import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.RowScope import androidx.compose.foundation.layout.fillMaxWidth @@ -77,12 +76,11 @@ fun HeaderPlaceholder( ) { val (colorPalette, typography) = LocalAppearance.current - Column( - horizontalAlignment = Alignment.End, - verticalArrangement = Arrangement.Center, + Box( + contentAlignment = Alignment.CenterEnd, modifier = modifier .padding(horizontal = 16.dp) - .height(128.dp) + .height(Dimensions.headerHeight) .fillMaxWidth() ) { Box(