Skip to content

Commit

Permalink
[Fix]: Home 되돌리기
Browse files Browse the repository at this point in the history
  • Loading branch information
jinuemong committed Feb 4, 2024
1 parent a3a7cef commit 9d19514
Showing 1 changed file with 2 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 -> {
Expand Down

0 comments on commit 9d19514

Please sign in to comment.