add error widget just in case

This commit is contained in:
krawieck 2020-09-21 23:49:46 +02:00
parent 13ee72e814
commit 377db0908b
1 changed files with 4 additions and 1 deletions

View File

@ -101,7 +101,10 @@ class AddInstancePage extends HookWidget {
SizedBox(
height: 150,
child: FullscreenableImage(
child: CachedNetworkImage(imageUrl: icon.value),
child: CachedNetworkImage(
imageUrl: icon.value,
errorWidget: (_, __, ___) => Container(),
),
url: icon.value,
))
else if (isSite.value == false)