From 39fc3f65fd9887c53ed5a12f7567e459f9c0f8e2 Mon Sep 17 00:00:00 2001 From: Chaejongin12 Date: Mon, 27 Nov 2023 19:35:42 +0900 Subject: [PATCH] =?UTF-8?q?:recycle:=20::=20LoginScreen=20Box=20->=20Surfa?= =?UTF-8?q?ce=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :: LoginScreen Box -> Surface로 변경 --- feature/login/src/main/java/com/bitgoeul/login/LoginScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feature/login/src/main/java/com/bitgoeul/login/LoginScreen.kt b/feature/login/src/main/java/com/bitgoeul/login/LoginScreen.kt index cdc981e9..a52d6a9e 100644 --- a/feature/login/src/main/java/com/bitgoeul/login/LoginScreen.kt +++ b/feature/login/src/main/java/com/bitgoeul/login/LoginScreen.kt @@ -10,6 +10,7 @@ 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.material3.Surface import androidx.compose.material3.Text import androidx.compose.runtime.Composable import androidx.compose.runtime.mutableStateOf @@ -63,7 +64,7 @@ fun LoginScreen( val emailState = remember { mutableStateOf("") } val passwordState = remember { mutableStateOf("") } BitgoeulAndroidTheme { color, type -> - Box { + Surface { Column( modifier = Modifier.fillMaxSize(), horizontalAlignment = Alignment.CenterHorizontally @@ -181,7 +182,6 @@ fun LoginScreen( } } - @Composable fun preview() { LoginScreen(onSignUpClick = {})