File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/src/main/java/nl/nickkoepr/bored/ui/screens/favorites Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ import androidx.compose.animation.togetherWith
88import androidx.compose.foundation.clickable
99import androidx.compose.foundation.layout.Arrangement
1010import androidx.compose.foundation.layout.Column
11+ import androidx.compose.foundation.layout.ExperimentalLayoutApi
12+ import androidx.compose.foundation.layout.FlowRow
1113import androidx.compose.foundation.layout.Row
1214import androidx.compose.foundation.layout.Spacer
1315import androidx.compose.foundation.layout.fillMaxSize
@@ -153,9 +155,10 @@ fun FavoriteCard(
153155 * Row containing all the different activity stats with an icon and the given stat.
154156 * @param activity activity whose status should be shown.
155157 */
158+ @OptIn(ExperimentalLayoutApi ::class )
156159@Composable
157160fun ActivityStatsSmallOverview (activity : Activity , modifier : Modifier = Modifier ) {
158- Row (modifier = modifier.fillMaxWidth(), horizontalArrangement = Arrangement .SpaceBetween ) {
161+ FlowRow (modifier = modifier.fillMaxWidth(), horizontalArrangement = Arrangement .SpaceBetween ) {
159162 ActivityStatsSmallItem (
160163 selectedFilter = SelectedFilter .ACCESSIBILITY ,
161164 value = activity.accessibility.toPercent()
You can’t perform that action at this time.
0 commit comments