Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Call activeHandler after configure
Browse files Browse the repository at this point in the history
  • Loading branch information
sampettersson committed Aug 20, 2021
1 parent 78502ef commit 1ef7751
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Presentation/Journey/TabbedJourney.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@ public struct TabbedJourney: JourneyPresentation {
tabBarController.viewControllers = [viewController].filter { $0 as? ContinuerPresentable.ContinuerViewController == nil }
configurer()

bag += Self.activeHandler(tabBarController)

return (tabBarController, bag)
})

self.options = options
self.onDismiss = { _ in }
self.style = style
self.configure = { presenter in
presenter.bag += Self.activeHandler(presenter.matter)

dismisser = { error in
presenter.dismisser(error)
}
Expand Down Expand Up @@ -159,15 +159,15 @@ public struct TabbedJourney: JourneyPresentation {
configurer1()
configurer2()

bag += Self.activeHandler(tabBarController)

return (tabBarController, bag)
})

self.options = options
self.onDismiss = { _ in }
self.style = style
self.configure = { presenter in
presenter.bag += Self.activeHandler(presenter.matter)

dismisser = { error in
presenter.dismisser(error)
}
Expand Down Expand Up @@ -207,15 +207,15 @@ public struct TabbedJourney: JourneyPresentation {
configurer2()
configurer3()

bag += Self.activeHandler(tabBarController)

return (tabBarController, bag)
})

self.options = options
self.onDismiss = { _ in }
self.style = style
self.configure = { presenter in
presenter.bag += Self.activeHandler(presenter.matter)

dismisser = { error in
presenter.dismisser(error)
}
Expand Down Expand Up @@ -260,15 +260,15 @@ public struct TabbedJourney: JourneyPresentation {
configurer3()
configurer4()

bag += Self.activeHandler(tabBarController)

return (tabBarController, bag)
})

self.options = options
self.onDismiss = { _ in }
self.style = style
self.configure = { presenter in
presenter.bag += Self.activeHandler(presenter.matter)

dismisser = { error in
presenter.dismisser(error)
}
Expand Down Expand Up @@ -318,15 +318,15 @@ public struct TabbedJourney: JourneyPresentation {
configurer4()
configurer5()

bag += Self.activeHandler(tabBarController)

return (tabBarController, bag)
})

self.options = options
self.onDismiss = { _ in }
self.style = style
self.configure = { presenter in
presenter.bag += Self.activeHandler(presenter.matter)

dismisser = { error in
presenter.dismisser(error)
}
Expand Down Expand Up @@ -381,15 +381,15 @@ public struct TabbedJourney: JourneyPresentation {
configurer5()
configurer6()

bag += Self.activeHandler(tabBarController)

return (tabBarController, bag)
})

self.options = options
self.onDismiss = { _ in }
self.style = style
self.configure = { presenter in
presenter.bag += Self.activeHandler(presenter.matter)

dismisser = { error in
presenter.dismisser(error)
}
Expand Down Expand Up @@ -449,15 +449,15 @@ public struct TabbedJourney: JourneyPresentation {
configurer6()
configurer7()

bag += Self.activeHandler(tabBarController)

return (tabBarController, bag)
})

self.options = options
self.onDismiss = { _ in }
self.style = style
self.configure = { presenter in
presenter.bag += Self.activeHandler(presenter.matter)

dismisser = { error in
presenter.dismisser(error)
}
Expand Down

0 comments on commit 1ef7751

Please sign in to comment.