From ee8342350e851b86d25db731041aa62208bedb74 Mon Sep 17 00:00:00 2001 From: Thomas Fransolet Date: Fri, 24 Mar 2023 08:24:00 +0100 Subject: [PATCH] Show image on beacon found (online) --- lib/Screens/Visit/beaconArticleFound.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Screens/Visit/beaconArticleFound.dart b/lib/Screens/Visit/beaconArticleFound.dart index f00c7d8..c9a45ba 100644 --- a/lib/Screens/Visit/beaconArticleFound.dart +++ b/lib/Screens/Visit/beaconArticleFound.dart @@ -127,9 +127,10 @@ class _BeaconArticleFoundState extends State { print("EMPTY resourcesModel - getSectionImage"); return null; } + } else { + // ONLINE + return ResourceModel(id: sectionFound.imageId, source: sectionFound.imageSource, type: ResourceType.Image); } - - return null; } }