mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-10-29 20:40:35 +00:00 
			
		
		
		
	Allow search widget to be constructed with or without an app bar
This commit is contained in:
		| @@ -55,7 +55,6 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> { | ||||
|   // Selected user profile | ||||
|   UserProfile? _profile; | ||||
|  | ||||
|  | ||||
|   void _scan(BuildContext context) { | ||||
|     if (!InvenTreeAPI().checkConnection(context)) return; | ||||
|  | ||||
| @@ -316,7 +315,7 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> { | ||||
|   Widget getBody(BuildContext context) { | ||||
|     switch (_tabIndex) { | ||||
|       case 1: // Search widget | ||||
|         return SearchWidget(); | ||||
|         return SearchWidget(false); | ||||
|       case 2: // Notification widget | ||||
|       case 0: // Home widget | ||||
|       default: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user