Skip to content

Commit

Permalink
example: Remove material3 dep
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Dec 2, 2024
1 parent 32dea1e commit df8a47d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ kotlin {
implementation(compose.ui)
implementation(compose.components.resources)

implementation(compose.material3)
implementation(project(":miuix"))
}
desktopMain.dependencies {
Expand Down
6 changes: 3 additions & 3 deletions composeApp/src/commonMain/kotlin/component/TextComponent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.AccountBox
import androidx.compose.runtime.Composable
import androidx.compose.runtime.MutableState
import androidx.compose.runtime.getValue
Expand Down Expand Up @@ -50,6 +48,8 @@ import top.yukonga.miuix.kmp.extra.SuperDialog
import top.yukonga.miuix.kmp.extra.SuperDropdown
import top.yukonga.miuix.kmp.extra.SuperSpinner
import top.yukonga.miuix.kmp.extra.SuperSwitch
import top.yukonga.miuix.kmp.icon.MiuixIcons
import top.yukonga.miuix.kmp.icon.icons.Info
import top.yukonga.miuix.kmp.theme.MiuixTheme
import top.yukonga.miuix.kmp.utils.MiuixPopupUtil.Companion.dismissDialog

Expand Down Expand Up @@ -142,7 +142,7 @@ fun TextComponent() {
modifier = Modifier.padding(end = 16.dp)
) {
Icon(
imageVector = Icons.Rounded.AccountBox,
imageVector = MiuixIcons.Info,
contentDescription = "Account",
)
}
Expand Down

0 comments on commit df8a47d

Please sign in to comment.