diff --git a/ios/Flutter/flutter_export_environment.sh b/ios/Flutter/flutter_export_environment.sh index 613a7442..b5fb2e5b 100644 --- a/ios/Flutter/flutter_export_environment.sh +++ b/ios/Flutter/flutter_export_environment.sh @@ -6,8 +6,8 @@ export "COCOAPODS_PARALLEL_CODE_SIGN=true" export "FLUTTER_TARGET=lib\main.dart" export "FLUTTER_BUILD_DIR=build" export "SYMROOT=${SOURCE_ROOT}/../build\ios" -export "FLUTTER_BUILD_NAME=0.4.1" -export "FLUTTER_BUILD_NUMBER=23" +export "FLUTTER_BUILD_NAME=0.4.2" +export "FLUTTER_BUILD_NUMBER=24" export "DART_OBFUSCATION=false" export "TRACK_WIDGET_CREATION=false" export "TREE_SHAKE_ICONS=false" diff --git a/lib/inventree/company.dart b/lib/inventree/company.dart index 0fe41894..ebfad90d 100644 --- a/lib/inventree/company.dart +++ b/lib/inventree/company.dart @@ -51,8 +51,7 @@ class InvenTreeSupplierPart extends InvenTreeModel { @override String URL = "company/part/"; - @override - Map defaultListFilters() { + Map _filters() { return { "manufacturer_detail": "true", "supplier_detail": "true", @@ -60,6 +59,16 @@ class InvenTreeSupplierPart extends InvenTreeModel { }; } + @override + Map defaultListFilters() { + return _filters(); + } + + @override + Map defaultGetFilters() { + return _filters(); + } + InvenTreeSupplierPart() : super(); InvenTreeSupplierPart.fromJson(Map json) : super.fromJson(json); diff --git a/lib/widget/part_detail.dart b/lib/widget/part_detail.dart index f9fe20e8..131cf921 100644 --- a/lib/widget/part_detail.dart +++ b/lib/widget/part_detail.dart @@ -274,14 +274,16 @@ class _PartDisplayState extends RefreshableState { tiles.add( ListTile( title: Text(L10().suppliers), - leading: FaIcon(FontAwesomeIcons.industry, color: COLOR_CLICK), + leading: FaIcon(FontAwesomeIcons.industry), trailing: Text("${part.supplierCount}"), + /* TODO: onTap: () { Navigator.push( context, MaterialPageRoute(builder: (context) => PartSupplierWidget(part)) ); }, + */ ) ); diff --git a/pubspec.yaml b/pubspec.yaml index 4f37ca18..18277849 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,7 +7,7 @@ description: InvenTree stock management # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.4.1+23 +version: 0.4.2+24 environment: sdk: ">=2.12.0 <3.0.0"