@@ -59,7 +59,6 @@ final class NotificationHandler {
5959 changeNotiUseCase: changeNotiUseCase,
6060 fetchNotiListUsecase: fetchNotiListUseCase,
6161 changeNotiDetailUseCase: changeNotiDetailUseCase,
62- assignAbTestUseCase: DefaultAssignAbTestUseCase ( abTestRepository: DefaultAbTestRepository ( service: DefaultAbTestService ( ) ) ) ,
6362 sharedDiningItem: CurrentDiningTime ( date: date. toDateFromYYMMDD ( ) ?? Date ( ) , diningType: DiningType ( rawValue: " \( type) " ) ?? . breakfast)
6463 )
6564 let diningViewController = DiningViewController ( viewModel: viewModel)
@@ -170,7 +169,7 @@ final class NotificationHandler {
170169 let changeNotiUseCase = DefaultChangeNotiUseCase ( notiRepository: notiRepository)
171170 let changeNotiDetailUseCase = DefaultChangeNotiDetailUseCase ( notiRepository: notiRepository)
172171 let fetchNotiListUseCase = DefaultFetchNotiListUseCase ( notiRepository: notiRepository)
173- let viewModel = DiningViewModel ( fetchDiningListUseCase: fetchDiningListUseCase, logAnalyticsEventUseCase: logAnalyticsEventUseCase, dateProvder: dateProvider, shareMenuListUseCase: shareMenuListUseCase, diningLikeUseCase: diningLikeUseCase, changeNotiUseCase: changeNotiUseCase, fetchNotiListUsecase: fetchNotiListUseCase, changeNotiDetailUseCase: changeNotiDetailUseCase, assignAbTestUseCase : DefaultAssignAbTestUseCase ( abTestRepository : DefaultAbTestRepository ( service : DefaultAbTestService ( ) ) ) )
172+ let viewModel = DiningViewModel ( fetchDiningListUseCase: fetchDiningListUseCase, logAnalyticsEventUseCase: logAnalyticsEventUseCase, dateProvder: dateProvider, shareMenuListUseCase: shareMenuListUseCase, diningLikeUseCase: diningLikeUseCase, changeNotiUseCase: changeNotiUseCase, fetchNotiListUsecase: fetchNotiListUseCase, changeNotiDetailUseCase: changeNotiDetailUseCase)
174173 let diningViewController = DiningViewController ( viewModel: viewModel)
175174 diningViewController. title = " 식단 "
176175 return diningViewController
@@ -179,17 +178,13 @@ final class NotificationHandler {
179178 private func createShopViewController( ) -> UIViewController {
180179 let shopService = DefaultShopService ( )
181180 let shopRepository = DefaultShopRepository ( service: shopService)
182-
183181 let fetchShopListUseCase = DefaultFetchShopListUseCase ( shopRepository: shopRepository)
184182 let fetchEventListUseCase = DefaultFetchEventListUseCase ( shopRepository: shopRepository)
185183 let fetchShopCategoryListUseCase = DefaultFetchShopCategoryListUseCase ( shopRepository: shopRepository)
186184 let fetchShopBenefitUseCase = DefaultFetchShopBenefitUseCase ( shopRepository: shopRepository)
187185 let fetchBeneficialShopUseCase = DefaultFetchBeneficialShopUseCase ( shopRepository: shopRepository)
188- let searchShopUseCase = DefaultSearchShopUseCase ( shopRepository: shopRepository)
189-
190186 let logAnalyticsEventUseCase = DefaultLogAnalyticsEventUseCase ( repository: GA4AnalyticsRepository ( service: GA4AnalyticsService ( ) ) )
191187 let getUserScreenTimeUseCase = DefaultGetUserScreenTimeUseCase ( )
192-
193188 let viewModel = ShopViewModel (
194189 fetchShopListUseCase: fetchShopListUseCase,
195190 fetchEventListUseCase: fetchEventListUseCase,
0 commit comments