Skip to content

Commit d15d953

Browse files
authored
[#433] MainView에 Coordinator을 구성한다 (#438)
* refactor: MainView의 Coordinator 구현 * refactor: 불필요 뷰빌더 요소 제거 * refactor: showEditButton 파라미터 적용
1 parent 1ddf9c5 commit d15d953

3 files changed

Lines changed: 194 additions & 145 deletions

File tree

DevLog/App/RootView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ struct RootView: View {
1919
if let signIn = viewModel.state.signIn {
2020
if signIn {
2121
MainView(
22-
viewModel: MainViewModel(
23-
unreadPushCountUseCase: container.resolve(ObserveUnreadPushCountUseCase.self)
24-
),
22+
container: container,
2523
selectedTab: $selectedMainTab
2624
)
2725
} else {

0 commit comments

Comments
 (0)