mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 12:06:24 +00:00
Link icons (#677)
* Add LinkIcon component * Visual UI updates - Refactor some components - Clearer text display - Add obvious chevron icon when a "tile" will take the user somewhere else * dart format * Adjust release notes * Add visual separator * Cleanup unused imports
This commit is contained in:
parent
c30f1a19d1
commit
2adf8e3430
28 changed files with 261 additions and 195 deletions
|
|
@ -8,7 +8,6 @@ import "package:inventree/inventree/model.dart";
|
|||
|
||||
import "package:inventree/widget/paginator.dart";
|
||||
import "package:inventree/widget/refreshable_state.dart";
|
||||
import "package:inventree/widget/company/supplier_part_detail.dart";
|
||||
|
||||
/*
|
||||
* Widget for displaying a list of Supplier Part instances
|
||||
|
|
@ -93,12 +92,7 @@ class _PaginatedSupplierPartListState
|
|||
leading: InvenTreeAPI().getThumbnail(supplierPart.supplierImage),
|
||||
trailing: InvenTreeAPI().getThumbnail(supplierPart.partImage),
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => SupplierPartDetailWidget(supplierPart),
|
||||
),
|
||||
);
|
||||
supplierPart.goToDetailPage(context);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue