mirror of
https://github.com/inventree/inventree-app.git
synced 2026-11-22 13:46:08 +00:00
remove unused actions (#923)
This commit is contained in:
1 parent
7c0d68462e
commit
bfddb02cfb
2 files changed
-17
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import "package:flutter/material.dart";
|
||||
import "package:flutter_tabler_icons/flutter_tabler_icons.dart";
|
||||
|
||||
import "package:inventree/api.dart";
|
||||
import "package:inventree/helpers.dart";
|
||||
@@ -34,8 +33,6 @@ class BillOfMaterialsWidget extends StatefulWidget {
|
||||
class _BillOfMaterialsState extends RefreshableState<BillOfMaterialsWidget> {
|
||||
_BillOfMaterialsState();
|
||||
|
||||
bool showFilterOptions = false;
|
||||
|
||||
@override
|
||||
String getAppBarTitle() {
|
||||
if (widget.isParentComponent) {
|
||||
@@ -45,18 +42,6 @@ class _BillOfMaterialsState extends RefreshableState<BillOfMaterialsWidget> {
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
List<Widget> appBarActions(BuildContext context) => [
|
||||
IconButton(
|
||||
icon: Icon(TablerIcons.filter),
|
||||
onPressed: () async {
|
||||
setState(() {
|
||||
showFilterOptions = !showFilterOptions;
|
||||
});
|
||||
},
|
||||
),
|
||||
];
|
||||
|
||||
@override
|
||||
Widget getBody(BuildContext context) {
|
||||
Map<String, String> filters = {};
|
||||
|
||||
@@ -28,8 +28,6 @@ class _PartListState extends RefreshableState<PartList> {
|
||||
|
||||
final Map<String, String> filters;
|
||||
|
||||
bool showFilterOptions = false;
|
||||
|
||||
@override
|
||||
String getAppBarTitle() => title.isNotEmpty ? title : L10().parts;
|
||||
|
||||
|
||||
Reference in new issue
Block a user