Trying to fix image loading on dev

This commit is contained in:
verboomp
2026-02-03 15:06:27 +01:00
parent 2e120291c7
commit c7ad119f35

View File

@@ -56,13 +56,7 @@ class PictureFullscreenDialog extends StatelessWidget {
dto.imageUrl, dto.imageUrl,
loadingBuilder: (context, child, loadingProgress) { loadingBuilder: (context, child, loadingProgress) {
if (loadingProgress == null) return child; if (loadingProgress == null) return child;
return Center( return Text("Loading...");
child: CircularProgressIndicator(
value: loadingProgress.expectedTotalBytes != null
? loadingProgress.cumulativeBytesLoaded / loadingProgress.expectedTotalBytes!
: 0,
),
);
}, },
), ),
), ),