From dac2740d6c97f2b8d0d81913de7ad78480fac4f7 Mon Sep 17 00:00:00 2001 From: Xavier Molloy Date: Thu, 12 Dec 2024 09:39:02 +0100 Subject: [PATCH] fix: [ANDROAPP-6579] remove weight when content is scrollable (#339) --- .../org/hisp/dhis/mobile/ui/designsystem/component/ListCard.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/ListCard.kt b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/ListCard.kt index 60691af31..28ad80f9c 100644 --- a/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/ListCard.kt +++ b/designsystem/src/commonMain/kotlin/org/hisp/dhis/mobile/ui/designsystem/component/ListCard.kt @@ -400,8 +400,6 @@ private fun ColumnScope.AdditionalInfoColumn( when { !additionalInfoColumnState.scrollableContent -> modifier additionalInfoColumnState.isExpanded() -> modifier.verticalScroll(scrollState) - .weight(1f) - else -> modifier } }