We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af7f5e0 commit 2a987bcCopy full SHA for 2a987bc
1 file changed
ICTMDBAllListModule/AllListRouter.swift
@@ -9,9 +9,13 @@
9
import UIKit
10
import ICTMDBModularProtocols
11
import DependencyKit
12
+import ICTMDBViewKit
13
14
class AllListRouter : PresenterToRouterAllListProtocol{
15
func toDetail(view: PresenterToViewAllListProtocol?, id: Int?) {
-
16
+ let detailModule = DependencyRegister.shared.resolve(TvShowDetailProtocol.self)
17
+ let controller = detailModule.createTvShowDetailModule(id: id)
18
+ view?.pushViewControllerAble(controller, animated: true)
19
+
20
}
21
0 commit comments