From 9d19514721de2f92f99b4d32984bb5bbb0c3dca9 Mon Sep 17 00:00:00 2001 From: jinuemong Date: Mon, 5 Feb 2024 00:52:14 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]:=20Home=20=EB=90=98=EB=8F=8C=EB=A6=AC?= =?UTF-8?q?=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../presentation/ui/main/home/HomeScreen.kt | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/ui/main/home/HomeScreen.kt b/presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/ui/main/home/HomeScreen.kt index 7571bc56..0afc3318 100644 --- a/presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/ui/main/home/HomeScreen.kt +++ b/presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/ui/main/home/HomeScreen.kt @@ -1,14 +1,9 @@ package ac.dnd.bookkeeping.android.presentation.ui.main.home import ac.dnd.bookkeeping.android.presentation.common.util.ErrorObserver -import ac.dnd.bookkeeping.android.presentation.common.util.coroutine.event.EventFlow -import ac.dnd.bookkeeping.android.presentation.common.util.coroutine.event.MutableEventFlow import ac.dnd.bookkeeping.android.presentation.common.view.CustomSnackBarHost import ac.dnd.bookkeeping.android.presentation.ui.main.ApplicationState import ac.dnd.bookkeeping.android.presentation.ui.main.home.bookkeeping.BookkeepingScreen -import ac.dnd.bookkeeping.android.presentation.ui.main.home.history.registration.HistoryRegistrationModel -import ac.dnd.bookkeeping.android.presentation.ui.main.home.history.registration.HistoryRegistrationScreen -import ac.dnd.bookkeeping.android.presentation.ui.main.home.history.registration.HistoryRegistrationState import ac.dnd.bookkeeping.android.presentation.ui.main.home.setting.SettingScreen import androidx.compose.foundation.ExperimentalFoundationApi import androidx.compose.foundation.layout.fillMaxSize @@ -28,7 +23,6 @@ import androidx.compose.runtime.saveable.rememberSaveable import androidx.compose.runtime.setValue import androidx.compose.ui.Modifier import androidx.hilt.navigation.compose.hiltViewModel -import kotlinx.coroutines.CoroutineExceptionHandler @OptIn(ExperimentalFoundationApi::class) @Composable @@ -73,18 +67,9 @@ fun HomeScreen( ) { page -> when (page) { 0 -> { - HistoryRegistrationScreen( - appState = appState, - model = HistoryRegistrationModel( - state = HistoryRegistrationState.Init - ), - event = MutableEventFlow(), - intent = {}, - handler = CoroutineExceptionHandler { _, _ -> } + BookkeepingScreen( + appState = appState ) -// BookkeepingScreen( -// appState = appState -// ) } 1 -> {