diff --git a/composeApp/src/commonMain/kotlin/com/hoc081098/solivagant/sample/todo/features/edit/EditViewModel.kt b/composeApp/src/commonMain/kotlin/com/hoc081098/solivagant/sample/todo/features/edit/EditViewModel.kt index 3848c20..7bb7f7f 100644 --- a/composeApp/src/commonMain/kotlin/com/hoc081098/solivagant/sample/todo/features/edit/EditViewModel.kt +++ b/composeApp/src/commonMain/kotlin/com/hoc081098/solivagant/sample/todo/features/edit/EditViewModel.kt @@ -97,8 +97,8 @@ internal class EditViewModel( } .fold( onSuccess = { - _uiStateFlow.value = EditUiState.Complete navigator.navigateBack() + _uiStateFlow.value = EditUiState.Complete }, onFailure = { // TODO: handle error