Hello, is there a way to add the material icons de...
# compose-desktop
d
Hello, is there a way to add the material icons dependency without adding the
material
dependency? I only found a way to do this with icons extended.
a
You can add the icons to the
res
directory and load them using the
painterResource
method
d
I am referring to the material icons (Icons.Default.Name) I want to import these without having to depend on compose.material since my app is using compose.material3 and import mistakes may happen
a
Yes, that's why I'm mentioning about adding the svg that you need manually
d
I think the solution adds too much complexity, thanks for the tip tho
a
Not really, it's just pasting the SVG into the directory and use it in a single line