mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-10-31 05:15:42 +00:00 
			
		
		
		
	Default to checkCircle if icon not specified
This commit is contained in:
		| @@ -19,7 +19,7 @@ void showSnackIcon(GlobalKey<ScaffoldState> key, String text, {IconData icon, bo | |||||||
|  |  | ||||||
|   // If icon not specified, use the success status |   // If icon not specified, use the success status | ||||||
|   if (icon == null) { |   if (icon == null) { | ||||||
|     icon = (success == true) ? FontAwesomeIcons.checkCircle : FontAwesomeIcons.timesCircle; |     icon = (success == false) ? FontAwesomeIcons.timesCircle : FontAwesomeIcons.checkCircle; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   key.currentState.showSnackBar( |   key.currentState.showSnackBar( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user