Version 1.5.2: Fix video message duration.

This commit is contained in:
John Preston 2018-12-13 15:33:38 +04:00
parent 7378ad00b0
commit 4836173fe6
1 changed files with 5 additions and 9 deletions

View File

@ -2256,17 +2256,13 @@ void HistoryGif::draw(Painter &p, const QRect &r, TextSelection selection, TimeM
: false;
const auto animating = reader && reader->started();
if (!animating || item->id < 0) {
if (displayLoading) {
if ((!animating || item->id < 0) && displayLoading) {
ensureAnimation();
if (!_animation->radial.animating()) {
_animation->radial.start(dataProgress());
}
}
updateStatusText();
} else if (playingVideo) {
updateStatusText();
}
auto radial = isRadialAnimation(ms);
if (bubble) {