forked from GitHub-Mirror/riotX-android
Change scope of PermalinkHandler
This commit is contained in:
parent
625242a3d9
commit
2741780553
@ -50,10 +50,6 @@ class HomeModule {
|
|||||||
HomeNavigator()
|
HomeNavigator()
|
||||||
}
|
}
|
||||||
|
|
||||||
scope(HOME_SCOPE) {
|
|
||||||
PermalinkHandler(get(), get())
|
|
||||||
}
|
|
||||||
|
|
||||||
// Fragment scopes
|
// Fragment scopes
|
||||||
|
|
||||||
factory {
|
factory {
|
||||||
@ -98,6 +94,10 @@ class HomeModule {
|
|||||||
GroupSummaryController()
|
GroupSummaryController()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
scope(ROOM_DETAIL_SCOPE) {
|
||||||
|
PermalinkHandler(get(), get())
|
||||||
|
}
|
||||||
|
|
||||||
scope(ROOM_DETAIL_SCOPE) { (fragment: Fragment) ->
|
scope(ROOM_DETAIL_SCOPE) { (fragment: Fragment) ->
|
||||||
val commandController = AutocompleteCommandController(get())
|
val commandController = AutocompleteCommandController(get())
|
||||||
AutocompleteCommandPresenter(fragment.requireContext(), commandController)
|
AutocompleteCommandPresenter(fragment.requireContext(), commandController)
|
||||||
|
Loading…
Reference in New Issue
Block a user