2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-05-14 04:53:11 +00:00

Remove unused var

This commit is contained in:
Oliver Walters 2024-12-11 21:55:31 +11:00
parent 2d9bc145bf
commit 5c1ceb7a0c
2 changed files with 1 additions and 7 deletions

@ -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;