Remove explicit dependency androix.compose.material (#6199)

* Remove explicit dependency for `androix.compose.material` for compose library modules

* Ensure `Button` uses the `material3.Icon` instead of the `material.Icon`

* Remove entry in `libs.versions.toml`
This commit is contained in:
Jorge Martin Espinosa 2026-02-13 15:19:31 +01:00 committed by GitHub
parent 17cf0efd13
commit 3a565e6065
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 3 deletions

View file

@ -229,7 +229,7 @@ private fun ButtonInternal(
Spacer(modifier = Modifier.width(8.dp))
}
leadingIcon != null -> {
androidx.compose.material.Icon(
Icon(
painter = leadingIcon.getPainter(),
contentDescription = null,
tint = LocalContentColor.current,