mirror of
				https://github.com/SimpleMobileTools/Simple-Launcher.git
				synced 2025-06-05 21:59:15 +02:00 
			
		
		
		
	correcting some menu offsets
This commit is contained in:
		| @@ -486,10 +486,10 @@ class MainActivity : SimpleActivity(), FlingListener { | |||||||
|  |  | ||||||
|     private fun handleGridItemPopupMenu(anchorView: View, gridItem: HomeScreenGridItem, isOnAllAppsFragment: Boolean): PopupMenu { |     private fun handleGridItemPopupMenu(anchorView: View, gridItem: HomeScreenGridItem, isOnAllAppsFragment: Boolean): PopupMenu { | ||||||
|         var visibleMenuButtons = 5 |         var visibleMenuButtons = 5 | ||||||
|         if (gridItem.type == ITEM_TYPE_ICON) { |         visibleMenuButtons -= when (gridItem.type) { | ||||||
|             visibleMenuButtons -= 1 |             ITEM_TYPE_ICON -> 1 | ||||||
|         } else { |             ITEM_TYPE_WIDGET -> 3 | ||||||
|             visibleMenuButtons -= 2 |             else -> 4 | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         if (isOnAllAppsFragment) { |         if (isOnAllAppsFragment) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user