Collapses some named arguments on OpenRoomList startActivity

This commit is contained in:
ericdecanini 2022-04-14 16:49:32 +02:00
parent 431651ba2f
commit 8b893c4106
1 changed files with 1 additions and 5 deletions

View File

@ -177,11 +177,7 @@ class DefaultNavigator @Inject constructor(
startActivity(context, SpaceManageActivity.newIntent(context, spaceId, ManageType.AddRooms), false)
}
Navigator.PostSwitchSpaceAction.OpenRoomList -> {
startActivity(
context = context,
intent = SpaceExploreActivity.newIntent(context, spaceId),
buildTask = false
)
startActivity(context, SpaceExploreActivity.newIntent(context, spaceId), buildTask = false)
}
is Navigator.PostSwitchSpaceAction.OpenDefaultRoom -> {
val args = TimelineArgs(