From c4ae6459f36dd199ef04dfa0aa8d173b90cf821f Mon Sep 17 00:00:00 2001 From: Antoine Robiez Date: Tue, 16 Apr 2024 10:51:53 +0200 Subject: [PATCH] Fix Alignment when the list is not full --- .../kotlin/com/androidmakers/ui/agenda/AgendaColumn.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/agenda/AgendaColumn.kt b/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/agenda/AgendaColumn.kt index 09e59dec..5ceda81f 100644 --- a/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/agenda/AgendaColumn.kt +++ b/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/agenda/AgendaColumn.kt @@ -23,10 +23,9 @@ import androidx.compose.runtime.Composable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.unit.dp -import fr.paug.androidmakers.ui.MR import com.androidmakers.ui.model.UISession import dev.icerock.moko.resources.compose.stringResource -import fr.androidmakers.domain.interactor.ApplyForAppClinicUseCase +import fr.paug.androidmakers.ui.MR import org.jetbrains.compose.ui.tooling.preview.Preview @OptIn(ExperimentalFoundationApi::class) @@ -43,7 +42,7 @@ fun AgendaColumn( state = listState, modifier = Modifier.fillMaxHeight(), contentPadding = PaddingValues(8.dp), - verticalArrangement = Arrangement.spacedBy(12.dp, Alignment.CenterVertically), + verticalArrangement = Arrangement.spacedBy(12.dp), horizontalAlignment = Alignment.CenterHorizontally ) {