From 494618e6d007886858b4ecfd4a8dbe353273a71e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A4=EC=84=9D=EA=B7=9C?= Date: Mon, 25 Mar 2024 09:23:58 +0900 Subject: [PATCH] fix: Remove error lines --- app/build.gradle.kts | 2 -- .../main/java/com/b1nd/dodam/dds/MainActivity.kt | 13 ++----------- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 30fefce..5544e78 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,5 +1,3 @@ -import org.jetbrains.kotlin.ir.backend.js.transformers.irToJs.safeModuleName - plugins { alias(libs.plugins.android.application) alias(libs.plugins.kotlin.android) diff --git a/app/src/main/java/com/b1nd/dodam/dds/MainActivity.kt b/app/src/main/java/com/b1nd/dodam/dds/MainActivity.kt index 0befe62..838114e 100644 --- a/app/src/main/java/com/b1nd/dodam/dds/MainActivity.kt +++ b/app/src/main/java/com/b1nd/dodam/dds/MainActivity.kt @@ -5,16 +5,10 @@ import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column +import androidx.compose.material3.Text import androidx.compose.ui.unit.dp -import com.b1nd.dodam.dds.component.DodamNavigationBar -import com.b1nd.dodam.dds.component.button.DodamCTAButton -import com.b1nd.dodam.dds.component.button.DodamLargeFilledButton -import com.b1nd.dodam.dds.component.button.DodamMediumFilledButton import com.b1nd.dodam.dds.component.button.DodamSmallFilledButton -import com.b1nd.dodam.dds.component.rememberDodamNavigationItem -import com.b1nd.dodam.dds.foundation.DodamIcons import com.b1nd.dodam.dds.theme.DodamTheme -import kotlinx.collections.immutable.persistentListOf class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { @@ -25,11 +19,8 @@ class MainActivity : ComponentActivity() { Column(verticalArrangement = Arrangement.spacedBy(20.dp)) { DodamSmallFilledButton( onClick = { /*TODO*/ }, - text = "Filled button", + content = { Text(text = "") } ) - DodamMediumFilledButton(onClick = { /*TODO*/ }, text = "Filled button") - DodamLargeFilledButton(onClick = { /*TODO*/ }, text = "Filled button") - DodamCTAButton(onClick = { /*TODO*/ }, text = "Filled button") } } }