mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Cleanup
This commit is contained in:
parent
6ed0acce27
commit
b219de757b
2 changed files with 3 additions and 8 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue