From d333ada7ca499da46e5e65a99e2136fe76cb02c1 Mon Sep 17 00:00:00 2001 From: Daniel Borges Date: Sun, 11 Aug 2019 16:03:30 -0300 Subject: [PATCH] don't show image in service list view - the image is not returned by API --- lib/src/screens/service_list_view.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/src/screens/service_list_view.dart b/lib/src/screens/service_list_view.dart index 0a1eba2..dfd6f81 100644 --- a/lib/src/screens/service_list_view.dart +++ b/lib/src/screens/service_list_view.dart @@ -85,12 +85,7 @@ class _ServiceListViewState extends State { 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),