mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-06-20 22:00:07 -04:00
Merge branch 'animate' into 'master'
Animate FDroidExpandableRow See merge request fdroid/fdroidclient!1504
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user