mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Check loaded status through DocumentMedia if possible.
This commit is contained in:
@@ -643,7 +643,7 @@ void FieldAutocompleteInner::paintEvent(QPaintEvent *e) {
|
||||
|
||||
if (document->sticker()->animated
|
||||
&& !sticker.animated
|
||||
&& document->loaded()) {
|
||||
&& media->loaded()) {
|
||||
setupLottie(sticker);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user