Use Folder icon from Compound.
This commit is contained in:
parent
cf169dc61d
commit
da8e18eeab
1 changed files with 1 additions and 2 deletions
|
|
@ -17,7 +17,6 @@ import androidx.compose.foundation.layout.size
|
||||||
import androidx.compose.foundation.lazy.LazyColumn
|
import androidx.compose.foundation.lazy.LazyColumn
|
||||||
import androidx.compose.foundation.lazy.items
|
import androidx.compose.foundation.lazy.items
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.outlined.Folder
|
|
||||||
import androidx.compose.material.icons.outlined.SubdirectoryArrowLeft
|
import androidx.compose.material.icons.outlined.SubdirectoryArrowLeft
|
||||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
|
|
@ -112,7 +111,7 @@ private fun ItemRow(
|
||||||
}
|
}
|
||||||
is Item.Folder -> {
|
is Item.Folder -> {
|
||||||
ListItem(
|
ListItem(
|
||||||
leadingContent = ListItemContent.Icon(IconSource.Vector(Icons.Outlined.Folder)),
|
leadingContent = ListItemContent.Icon(IconSource.Vector(CompoundIcons.Folder())),
|
||||||
headlineContent = {
|
headlineContent = {
|
||||||
Text(
|
Text(
|
||||||
text = item.name,
|
text = item.name,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue