mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Remove floating action button
This commit is contained in:
parent
f027dff2af
commit
2720280ada
5 changed files with 16 additions and 31 deletions
|
|
@ -37,6 +37,18 @@ class _StockItemTestResultDisplayState extends RefreshableState<StockItemTestRes
|
|||
@override
|
||||
String getAppBarTitle(BuildContext context) => L10().testResults;
|
||||
|
||||
@override
|
||||
List<Widget> getAppBarActions(BuildContext context) {
|
||||
return [
|
||||
IconButton(
|
||||
icon: FaIcon(FontAwesomeIcons.plusCircle),
|
||||
onPressed: () {
|
||||
addTestResult(context);
|
||||
}
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> request() async {
|
||||
await item.getTestTemplates();
|
||||
|
|
@ -220,14 +232,4 @@ class _StockItemTestResultDisplayState extends RefreshableState<StockItemTestRes
|
|||
).toList()
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
Widget getFab(BuildContext context) {
|
||||
return FloatingActionButton(
|
||||
child: Icon(FontAwesomeIcons.plus),
|
||||
onPressed: () {
|
||||
addTestResult(context);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue