mirror of
https://github.com/immich-app/immich.git
synced 2025-07-31 15:08:44 -04:00
load from provider first
This commit is contained in:
parent
467acede2a
commit
2051788587
@ -120,13 +120,13 @@ class _ThumbnailState extends State<Thumbnail> {
|
||||
|
||||
void _loadImage() {
|
||||
_stopListeningToStream();
|
||||
if (widget.thumbhashMode != ThumbhashMode.disabled && widget.blurhash != null) {
|
||||
_decodeThumbhash();
|
||||
}
|
||||
|
||||
if (widget.thumbhashMode != ThumbhashMode.only && widget.imageProvider != null) {
|
||||
_loadFromProvider();
|
||||
}
|
||||
|
||||
if (widget.thumbhashMode != ThumbhashMode.disabled && widget.blurhash != null) {
|
||||
_decodeThumbhash();
|
||||
}
|
||||
}
|
||||
|
||||
void _loadFromProvider() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user