Add "starred parts" to home screen

This commit is contained in:
Oliver Walters committed 2021-02-12 23:48:50 +11:00
1 parent e53170ed7e
commit ddafed1fe6
5 files changed
+130 -10

No files matched your search

+6 -6
View File
@@ -61,12 +61,6 @@ class PartSearchDelegate extends SearchDelegate<InvenTreePart> {
@override
List<Widget> buildActions(BuildContext context) {
return [
IconButton(
icon: FaIcon(FontAwesomeIcons.search),
onPressed: () {
search(context);
}
),
IconButton(
icon: FaIcon(FontAwesomeIcons.backspace),
onPressed: () {
@@ -74,6 +68,12 @@ class PartSearchDelegate extends SearchDelegate<InvenTreePart> {
search(context);
},
),
IconButton(
icon: FaIcon(FontAwesomeIcons.search),
onPressed: () {
search(context);
}
),
];
}