mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 02:35:27 +00:00
Fix network cache images
- Changed from using flutter_advanced_networkimage to cached_network_image - flutter_advanced_networkimage is now outdated - cached_network_image is the pseudo official library
This commit is contained in:
@ -93,10 +93,7 @@ class _CompanyListState extends RefreshableState<CompanyListWidget> {
|
||||
return ListTile(
|
||||
title: Text("${company.name}"),
|
||||
subtitle: Text("${company.description}"),
|
||||
leading: Image(
|
||||
image: InvenTreeAPI().getImage(company.image),
|
||||
width: 40,
|
||||
),
|
||||
leading: InvenTreeAPI().getImage(company.image),
|
||||
onTap: () {
|
||||
if (company.pk > 0) {
|
||||
InvenTreeCompany().get(context, company.pk).then((var c) {
|
||||
|
Reference in New Issue
Block a user