Skip to content

Commit df8a47d

Browse files
committed
example: Remove material3 dep
1 parent 32dea1e commit df8a47d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

composeApp/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ kotlin {
9090
implementation(compose.ui)
9191
implementation(compose.components.resources)
9292

93-
implementation(compose.material3)
9493
implementation(project(":miuix"))
9594
}
9695
desktopMain.dependencies {

composeApp/src/commonMain/kotlin/component/TextComponent.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import androidx.compose.foundation.layout.fillMaxWidth
1212
import androidx.compose.foundation.layout.height
1313
import androidx.compose.foundation.layout.padding
1414
import androidx.compose.foundation.layout.width
15-
import androidx.compose.material.icons.Icons
16-
import androidx.compose.material.icons.rounded.AccountBox
1715
import androidx.compose.runtime.Composable
1816
import androidx.compose.runtime.MutableState
1917
import androidx.compose.runtime.getValue
@@ -50,6 +48,8 @@ import top.yukonga.miuix.kmp.extra.SuperDialog
5048
import top.yukonga.miuix.kmp.extra.SuperDropdown
5149
import top.yukonga.miuix.kmp.extra.SuperSpinner
5250
import top.yukonga.miuix.kmp.extra.SuperSwitch
51+
import top.yukonga.miuix.kmp.icon.MiuixIcons
52+
import top.yukonga.miuix.kmp.icon.icons.Info
5353
import top.yukonga.miuix.kmp.theme.MiuixTheme
5454
import top.yukonga.miuix.kmp.utils.MiuixPopupUtil.Companion.dismissDialog
5555

@@ -142,7 +142,7 @@ fun TextComponent() {
142142
modifier = Modifier.padding(end = 16.dp)
143143
) {
144144
Icon(
145-
imageVector = Icons.Rounded.AccountBox,
145+
imageVector = MiuixIcons.Info,
146146
contentDescription = "Account",
147147
)
148148
}

0 commit comments

Comments
 (0)