Disables toolbar click
This commit is contained in:
		
							parent
							
								
									2d32d0da54
								
							
						
					
					
						commit
						6da990d4a5
					
				| @ -463,20 +463,20 @@ class HomeDetailFragment @Inject constructor( | |||||||
|             sharedActionViewModel.post(HomeActivitySharedAction.OpenDrawer) |             sharedActionViewModel.post(HomeActivitySharedAction.OpenDrawer) | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         views.homeToolbarContent.debouncedClicks { | //        views.homeToolbarContent.debouncedClicks { | ||||||
|             withState(viewModel) { | //            withState(viewModel) { | ||||||
|                 when (it.roomGroupingMethod) { | //                when (it.roomGroupingMethod) { | ||||||
|                     is RoomGroupingMethod.ByLegacyGroup -> { | //                    is RoomGroupingMethod.ByLegacyGroup -> { | ||||||
|                         // do nothing | //                        // do nothing | ||||||
|                     } | //                    } | ||||||
|                     is RoomGroupingMethod.BySpace       -> { | //                    is RoomGroupingMethod.BySpace       -> { | ||||||
|                         it.roomGroupingMethod.spaceSummary?.let { spaceSummary -> | //                        it.roomGroupingMethod.spaceSummary?.let { spaceSummary -> | ||||||
|                             sharedActionViewModel.post(HomeActivitySharedAction.ShowSpaceSettings(spaceSummary.roomId)) | //                            sharedActionViewModel.post(HomeActivitySharedAction.ShowSpaceSettings(spaceSummary.roomId)) | ||||||
|                         } | //                        } | ||||||
|                     } | //                    } | ||||||
|                 } | //                } | ||||||
|             } | //            } | ||||||
|         } | //        } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     private fun setupBottomNavigationView() { |     private fun setupBottomNavigationView() { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user