From c7ad119f35564fe6a01f8aa422bdb1faf3089787 Mon Sep 17 00:00:00 2001
From: verboomp
Date: Tue, 3 Feb 2026 15:06:27 +0100
Subject: [PATCH] Trying to fix image loading on dev
---
.../lib/pages/customer/picture_fullscreen_dialog.dart | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/hartmann-foto-documentation-frontend/lib/pages/customer/picture_fullscreen_dialog.dart b/hartmann-foto-documentation-frontend/lib/pages/customer/picture_fullscreen_dialog.dart
index 9491e31..e5b42ab 100644
--- a/hartmann-foto-documentation-frontend/lib/pages/customer/picture_fullscreen_dialog.dart
+++ b/hartmann-foto-documentation-frontend/lib/pages/customer/picture_fullscreen_dialog.dart
@@ -17,7 +17,7 @@ class PictureFullscreenDialog extends StatelessWidget {
final dialogWidth = screenSize.width * 0.9;
final dialogHeight = screenSize.height * 0.9 - 50;
Header cred = HeaderUtils().getAuthHeader();
-
+
return Dialog(
backgroundColor: Colors.black,
clipBehavior: Clip.hardEdge,
@@ -56,13 +56,7 @@ class PictureFullscreenDialog extends StatelessWidget {
dto.imageUrl,
loadingBuilder: (context, child, loadingProgress) {
if (loadingProgress == null) return child;
- return Center(
- child: CircularProgressIndicator(
- value: loadingProgress.expectedTotalBytes != null
- ? loadingProgress.cumulativeBytesLoaded / loadingProgress.expectedTotalBytes!
- : 0,
- ),
- );
+ return Text("Loading...");
},
),
),