Fix image sometimes not showing immediately after send.

This commit is contained in:
Greyson Parrelli
2026-03-27 15:11:12 +00:00
committed by Alex Hart
parent 5eaf1000c8
commit 8af41e4b2c

View File

@@ -407,6 +407,8 @@ public class ThumbnailView extends FrameLayout {
} }
if (this.slide != null && this.slide.getFastPreflightId() != null && if (this.slide != null && this.slide.getFastPreflightId() != null &&
this.slide.isInProgress() == slide.isInProgress() &&
image.getDrawable() != null &&
(!slide.hasVideo() || Util.equals(this.slide.getUri(), slide.getUri())) && (!slide.hasVideo() || Util.equals(this.slide.getUri(), slide.getUri())) &&
Util.equals(this.slide.getFastPreflightId(), slide.getFastPreflightId())) Util.equals(this.slide.getFastPreflightId(), slide.getFastPreflightId()))
{ {