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:
parent
2d9bc145bf
commit
5c1ceb7a0c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user