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