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 74c4f42c95..5013d0ff82 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 @@ -152,7 +152,11 @@ class HomeDetailFragment @Inject constructor( // As we hide it check if it's not the current item! withState(viewModel) { if (it.displayMode.toMenuId() == R.id.bottom_action_notification) { - viewModel.handle(HomeDetailAction.SwitchDisplayMode(RoomListDisplayMode.PEOPLE)) + if (vectorPreferences.singleOverview()) { + viewModel.handle(HomeDetailAction.SwitchDisplayMode(RoomListDisplayMode.ALL)) + } else { + viewModel.handle(HomeDetailAction.SwitchDisplayMode(RoomListDisplayMode.PEOPLE)) + } } } }