Merge branch 'animate' into 'master'

Animate FDroidExpandableRow

See merge request fdroid/fdroidclient!1504
This commit is contained in:
Torsten Grote
2025-02-11 11:53:55 +00:00

View File

@@ -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()
}
}