From 3574101fec03ffa6894673e7df7b25c0e71efd06 Mon Sep 17 00:00:00 2001 From: machiav3lli Date: Wed, 5 Oct 2022 02:38:15 +0200 Subject: [PATCH] Update: Replace the expand Material icon with Phosphor --- .../fdroid/ui/compose/components/ExpandableBlock.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/com/machiav3lli/fdroid/ui/compose/components/ExpandableBlock.kt b/src/main/kotlin/com/machiav3lli/fdroid/ui/compose/components/ExpandableBlock.kt index 3452eb8a..9f2e4622 100644 --- a/src/main/kotlin/com/machiav3lli/fdroid/ui/compose/components/ExpandableBlock.kt +++ b/src/main/kotlin/com/machiav3lli/fdroid/ui/compose/components/ExpandableBlock.kt @@ -9,9 +9,9 @@ import androidx.compose.runtime.* import androidx.compose.runtime.saveable.rememberSaveable import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier -import androidx.compose.ui.res.painterResource import androidx.compose.ui.unit.dp -import com.machiav3lli.fdroid.R +import com.machiav3lli.fdroid.ui.compose.icons.Phosphor +import com.machiav3lli.fdroid.ui.compose.icons.phosphor.CaretDown @OptIn(ExperimentalMaterial3Api::class) @Composable @@ -69,7 +69,8 @@ fun ExpandableBlockHeader( style = MaterialTheme.typography.titleSmall, ) Icon( - painter = painterResource(id = R.drawable.ic_arrow_down), + modifier = Modifier.size(24.dp), + imageVector = Phosphor.CaretDown, contentDescription = heading ) }