From edebb01640b0e25cf7680bf81c721f8e8c5b883c Mon Sep 17 00:00:00 2001 From: jeongjaino Date: Sun, 26 Jan 2025 12:40:21 +0900 Subject: [PATCH] =?UTF-8?q?[FEATURE]#223=20:=20=EB=A1=9C=EA=B7=B8=EC=95=84?= =?UTF-8?q?=EC=9B=83=20=EC=8B=9C,=20BaseSideEffect=20=EC=B2=98=EB=A6=AC?= =?UTF-8?q?=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bff/wespot/entire/screen/setting/AccountSettingScreen.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/feature/entire/src/main/java/com/bff/wespot/entire/screen/setting/AccountSettingScreen.kt b/feature/entire/src/main/java/com/bff/wespot/entire/screen/setting/AccountSettingScreen.kt index 1236ccbf..ef2ea438 100644 --- a/feature/entire/src/main/java/com/bff/wespot/entire/screen/setting/AccountSettingScreen.kt +++ b/feature/entire/src/main/java/com/bff/wespot/entire/screen/setting/AccountSettingScreen.kt @@ -28,6 +28,7 @@ import com.bff.wespot.entire.state.EntireSideEffect import com.bff.wespot.entire.viewmodel.EntireViewModel import com.bff.wespot.navigation.Navigator import com.bff.wespot.ui.component.LoadingAnimation +import com.bff.wespot.ui.util.handleSideEffect import com.ramcosta.composedestinations.annotation.Destination import org.orbitmvi.orbit.compose.collectAsState import org.orbitmvi.orbit.compose.collectSideEffect @@ -51,6 +52,8 @@ fun AccountSettingScreen( val action = viewModel::onAction val state by viewModel.collectAsState() + handleSideEffect(viewModel.sideEffect) + viewModel.collectSideEffect { when (it) { is EntireSideEffect.NavigateToAuth -> {