Collapses some named arguments on OpenRoomList startActivity
This commit is contained in:
parent
431651ba2f
commit
8b893c4106
|
@ -177,11 +177,7 @@ class DefaultNavigator @Inject constructor(
|
||||||
startActivity(context, SpaceManageActivity.newIntent(context, spaceId, ManageType.AddRooms), false)
|
startActivity(context, SpaceManageActivity.newIntent(context, spaceId, ManageType.AddRooms), false)
|
||||||
}
|
}
|
||||||
Navigator.PostSwitchSpaceAction.OpenRoomList -> {
|
Navigator.PostSwitchSpaceAction.OpenRoomList -> {
|
||||||
startActivity(
|
startActivity(context, SpaceExploreActivity.newIntent(context, spaceId), buildTask = false)
|
||||||
context = context,
|
|
||||||
intent = SpaceExploreActivity.newIntent(context, spaceId),
|
|
||||||
buildTask = false
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
is Navigator.PostSwitchSpaceAction.OpenDefaultRoom -> {
|
is Navigator.PostSwitchSpaceAction.OpenDefaultRoom -> {
|
||||||
val args = TimelineArgs(
|
val args = TimelineArgs(
|
||||||
|
|
Loading…
Reference in New Issue