From b1255aacdf3356aa53faaae73cff730732455060 Mon Sep 17 00:00:00 2001 From: Gold87 <91761103+Gold872@users.noreply.github.com> Date: Sun, 6 Oct 2024 14:46:00 -0400 Subject: [PATCH] Fix edge case with previous image display --- lib/widgets/nt_widgets/multi-topic/camera_stream.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/widgets/nt_widgets/multi-topic/camera_stream.dart b/lib/widgets/nt_widgets/multi-topic/camera_stream.dart index 1aec534a..88891fdb 100644 --- a/lib/widgets/nt_widgets/multi-topic/camera_stream.dart +++ b/lib/widgets/nt_widgets/multi-topic/camera_stream.dart @@ -280,7 +280,8 @@ class CameraStreamWidget extends NTWidget { return Stack( fit: StackFit.expand, children: [ - if (model.mjpegStream != null || model.lastDisplayedImage != null) + if (model.mjpegStream?.previousImage != null || + model.lastDisplayedImage != null) Opacity( opacity: 0.35, child: Image(