mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Hide filter FAB when opened (closes #3024)
This commit is contained in:
		@@ -152,6 +152,10 @@ open class BrowseSourceController(bundle: Bundle) :
 | 
			
		||||
        )
 | 
			
		||||
        filterSheet?.setFilters(presenter.filterItems)
 | 
			
		||||
 | 
			
		||||
        // TODO: [ExtendedFloatingActionButton] hide/show methods don't work properly
 | 
			
		||||
        filterSheet?.setOnShowListener { binding.fabFilter.gone() }
 | 
			
		||||
        filterSheet?.setOnDismissListener { binding.fabFilter.visible() }
 | 
			
		||||
 | 
			
		||||
        binding.fabFilter.setOnClickListener { filterSheet?.show() }
 | 
			
		||||
        binding.fabFilter.visible()
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user