diff --git a/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt b/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt index 33d1b963ae..7191fe881a 100644 --- a/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt @@ -463,20 +463,20 @@ class HomeDetailFragment @Inject constructor( sharedActionViewModel.post(HomeActivitySharedAction.OpenDrawer) } - views.homeToolbarContent.debouncedClicks { - withState(viewModel) { - when (it.roomGroupingMethod) { - is RoomGroupingMethod.ByLegacyGroup -> { - // do nothing - } - is RoomGroupingMethod.BySpace -> { - it.roomGroupingMethod.spaceSummary?.let { spaceSummary -> - sharedActionViewModel.post(HomeActivitySharedAction.ShowSpaceSettings(spaceSummary.roomId)) - } - } - } - } - } +// views.homeToolbarContent.debouncedClicks { +// withState(viewModel) { +// when (it.roomGroupingMethod) { +// is RoomGroupingMethod.ByLegacyGroup -> { +// // do nothing +// } +// is RoomGroupingMethod.BySpace -> { +// it.roomGroupingMethod.spaceSummary?.let { spaceSummary -> +// sharedActionViewModel.post(HomeActivitySharedAction.ShowSpaceSettings(spaceSummary.roomId)) +// } +// } +// } +// } +// } } private fun setupBottomNavigationView() {