From 11e8ea9746886934bfc09d149a7356edda46f26e Mon Sep 17 00:00:00 2001 From: LEE YOU BIN Date: Thu, 18 Jul 2024 04:20:28 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT/#116]=20=EB=8B=A4=EC=9D=B4=EC=96=BC?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=20=EC=95=88=20=EB=82=B4=EB=A0=A4=EC=98=A4?= =?UTF-8?q?=EA=B2=8C=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/bottomsheet/MyPageQuitBottomSheet.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/core/src/main/java/com/terning/core/designsystem/component/bottomsheet/MyPageQuitBottomSheet.kt b/core/src/main/java/com/terning/core/designsystem/component/bottomsheet/MyPageQuitBottomSheet.kt index fe722d1aa..1f3d4414e 100644 --- a/core/src/main/java/com/terning/core/designsystem/component/bottomsheet/MyPageQuitBottomSheet.kt +++ b/core/src/main/java/com/terning/core/designsystem/component/bottomsheet/MyPageQuitBottomSheet.kt @@ -16,7 +16,6 @@ import com.terning.core.R import com.terning.core.designsystem.component.button.DeleteRoundButton import com.terning.core.designsystem.component.button.RoundButton import com.terning.core.designsystem.theme.TerningTheme -import kotlinx.coroutines.launch @OptIn(ExperimentalMaterial3Api::class) @Composable @@ -50,12 +49,7 @@ fun MyPageQuitBottomSheet( cornerRadius = 10.dp, text = R.string.my_page_quit_button, onButtonClick = { - scope.launch { sheetState.hide() } - .invokeOnCompletion { - if (!sheetState.isVisible) { - onQuitClick() - } - } + onQuitClick() }, modifier = modifier.padding( start = 24.dp,