mirror of
				https://github.com/inventree/inventree-app.git
				synced 2025-10-31 13:25:40 +00:00 
			
		
		
		
	Remove unused var
This commit is contained in:
		| @@ -59,12 +59,6 @@ class InvenTreeBarcodeControllerState extends State<InvenTreeBarcodeController> | ||||
|       processingBarcode = true; | ||||
|     }); | ||||
|  | ||||
|     BuildContext? context; | ||||
|  | ||||
|     if (hasContext()) { | ||||
|       context = OneContext.hasContext ? OneContext().context : null; | ||||
|     } | ||||
|  | ||||
|     showLoadingOverlay(); | ||||
|     await pauseScan(); | ||||
|  | ||||
|   | ||||
| @@ -45,7 +45,7 @@ Widget progressIndicator() { | ||||
|  | ||||
| void showLoadingOverlay() { | ||||
|  | ||||
|   BuildContext? context = OneContext().context; | ||||
|   BuildContext? context = OneContext.hasContext ? OneContext().context : null; | ||||
|  | ||||
|   if (context == null) { | ||||
|     return; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user