Skip to content

Commit

Permalink
fix widget thumbnail (#2315)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppupha authored Nov 10, 2024
1 parent 3e1c428 commit fcb261e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/util/exhibition_ext.dart
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ extension ArtworkExt on Artwork {
String get thumbnailURL => getFFUrl(thumbnailURI);

String get dailyThumbnailURL {
final dailyThumbnailURI = thumbnailDisplay ?? thumbnailURI;
final dailyThumbnailURI = (thumbnailDisplay?.isNotEmpty == true)
? thumbnailDisplay!
: thumbnailURI;
return getFFUrl(dailyThumbnailURI, variant: CloudFlareVariant.l.value);
}

Expand Down

0 comments on commit fcb261e

Please sign in to comment.