diff --git a/assets/release_notes.md b/assets/release_notes.md index b9220c59..9afdab85 100644 --- a/assets/release_notes.md +++ b/assets/release_notes.md @@ -2,6 +2,7 @@ --- - Fix background image transparency for dark mode +- Fix link to Bill of Materials from Part screen ### 0.11.4 - April 2023 diff --git a/lib/widget/part_detail.dart b/lib/widget/part_detail.dart index 7f3b645f..485b35b0 100644 --- a/lib/widget/part_detail.dart +++ b/lib/widget/part_detail.dart @@ -444,6 +444,11 @@ class _PartDisplayState extends RefreshableState { title: Text(L10().billOfMaterials), leading: FaIcon(FontAwesomeIcons.tableList, color: COLOR_ACTION), trailing: Text(bomCount.toString()), + onTap: () { + Navigator.push(context, MaterialPageRoute( + builder: (context) => BillOfMaterialsWidget(part, isParentComponent: true) + )); + }, ) ); }