Change scope of PermalinkHandler

This commit is contained in:
Benoit Marty 2019-06-20 17:05:15 +02:00
parent 625242a3d9
commit 2741780553
1 changed files with 4 additions and 4 deletions

View File

@ -50,10 +50,6 @@ class HomeModule {
HomeNavigator()
}
scope(HOME_SCOPE) {
PermalinkHandler(get(), get())
}
// Fragment scopes
factory {
@ -98,6 +94,10 @@ class HomeModule {
GroupSummaryController()
}
scope(ROOM_DETAIL_SCOPE) {
PermalinkHandler(get(), get())
}
scope(ROOM_DETAIL_SCOPE) { (fragment: Fragment) ->
val commandController = AutocompleteCommandController(get())
AutocompleteCommandPresenter(fragment.requireContext(), commandController)