mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
More refactorign
This commit is contained in:
parent
2a6df373c5
commit
52d42c85c8
6 changed files with 12 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import "dart:ui";
|
||||
|
||||
import "dart:io";
|
||||
|
||||
import "package:intl/intl.dart";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
|
||||
/*
|
||||
* Class for InvenTree user / login details
|
||||
*/
|
||||
import "package:sembast/sembast.dart";
|
||||
import "preferences.dart";
|
||||
|
||||
import "package:inventree/preferences.dart";
|
||||
|
||||
class UserProfile {
|
||||
|
||||
|
|
|
|||
|
|
@ -70,9 +70,7 @@ class PaginatedSearchState<T extends StatefulWidget> extends State<T> {
|
|||
|
||||
if (page != null) {
|
||||
for (var result in page.results) {
|
||||
if (result is InvenTreeModel) {
|
||||
items.add(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue