mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 05:26:47 +00:00
Cleanup
This commit is contained in:
parent
6ed0acce27
commit
b219de757b
@ -35,11 +35,9 @@ class _StarredPartState extends RefreshableState<StarredPartWidget> {
|
||||
|
||||
starredParts.clear();
|
||||
|
||||
if (parts != null) {
|
||||
for (int idx = 0; idx < parts.length; idx++) {
|
||||
if (parts[idx] is InvenTreePart) {
|
||||
starredParts.add(parts[idx] as InvenTreePart);
|
||||
}
|
||||
for (int idx = 0; idx < parts.length; idx++) {
|
||||
if (parts[idx] is InvenTreePart) {
|
||||
starredParts.add(parts[idx] as InvenTreePart);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,3 @@
|
||||
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:inventree/barcode.dart';
|
||||
import 'package:inventree/inventree/stock.dart';
|
||||
import 'package:inventree/inventree/part.dart';
|
||||
|
Loading…
x
Reference in New Issue
Block a user