diff --git a/app/src/main/java/org/fdroid/fdroid/compose/FDroidExpandableRow.kt b/app/src/main/java/org/fdroid/fdroid/compose/FDroidExpandableRow.kt index 0f4a4f0bb..2f66a1b75 100644 --- a/app/src/main/java/org/fdroid/fdroid/compose/FDroidExpandableRow.kt +++ b/app/src/main/java/org/fdroid/fdroid/compose/FDroidExpandableRow.kt @@ -1,5 +1,6 @@ package org.fdroid.fdroid.compose +import androidx.compose.animation.AnimatedVisibility import androidx.compose.foundation.layout.Arrangement.spacedBy import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row @@ -75,7 +76,7 @@ fun FDroidExpandableRow( ) } // content - if (expandedInternal) { + AnimatedVisibility(expandedInternal) { content() } }