From c3c4157d2bab9c5c13a7ecaccd726e194be181eb Mon Sep 17 00:00:00 2001 From: Noel S Date: Mon, 8 Dec 2025 18:36:59 -0800 Subject: [PATCH] test --- mobile/lib/widgets/common/immich_thumbnail.dart | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/mobile/lib/widgets/common/immich_thumbnail.dart b/mobile/lib/widgets/common/immich_thumbnail.dart index 612a6a4bd0..a6006f77e1 100644 --- a/mobile/lib/widgets/common/immich_thumbnail.dart +++ b/mobile/lib/widgets/common/immich_thumbnail.dart @@ -13,12 +13,20 @@ import 'package:octo_image/octo_image.dart'; import 'package:immich_mobile/providers/user.provider.dart'; class ImmichThumbnail extends HookConsumerWidget { - const ImmichThumbnail({this.asset, this.width = 250, this.height = 250, this.fit = BoxFit.cover, super.key}); + const ImmichThumbnail({ + this.asset, + this.width = 250, + this.height = 250, + this.fit = BoxFit.cover, + super.key, + this.placeholderEnabled = true, + }); final Asset? asset; final double width; final double height; final BoxFit fit; + final bool placeholderEnabled; /// Helper function to return the image provider for the asset thumbnail /// either by using the asset ID or the asset itself @@ -47,7 +55,7 @@ class ImmichThumbnail extends HookConsumerWidget { if (asset == null) { return Container( - color: Colors.grey, + color: Colors.black, width: width, height: height, child: const Center(child: Icon(Icons.no_photography)),