Remove material-icons-extended
as a dependency of compose-material-dialogs:core
and others
#153
Labels
bug
Something isn't working
Describe the bug
After I added
compose-material-dialogs:core
to my project, 20 mb was added to the final apk size. It seems it brought the whole material-icons-extended library with it:Expected behaviour
I don't expect a library showing dialogs to bring any icons with it, and for sure it should not depend on the extended set of the material icons.
Suggested solution
https://github.com/vanpra/compose-material-dialogs/blob/main/buildSrc/src/main/kotlin/CommonModulePlugin.kt#L29
The material icons are used in several places, such as: Demos, Tests, and in a couple of places in DatePicker module.
Let's leave the dependency of
material-icons-extended
only for Demos and Tests, and for DatePicker, let's copy-paste the used icons, as suggested in the docs:The text was updated successfully, but these errors were encountered: