don't show image in service list view - the image is not returned by API

This commit is contained in:
Daniel Borges 2019-08-11 16:03:30 -03:00
parent b1edbcb792
commit d333ada7ca

View File

@ -85,12 +85,7 @@ class _ServiceListViewState extends State<ServiceListView> {
child: Container(
height: 50,
width: 50,
child: item.plugin.id == 'images'
? FittedBox(
child: Image.network('https://picsum.photos/500'),
fit: BoxFit.cover,
)
: Icon(item.plugin.icon()),
child: Icon(item.plugin.icon()),
),
),
title: Text(item.title),