2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Add "starred parts" to home screen

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

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);
}
),
];
}