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()
|
||||
}
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user