2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Fix build for Xcode.

This commit is contained in:
John Preston
2019-06-28 17:32:21 +02:00
parent ad1816cb7c
commit 53a3d0038c
7 changed files with 13 additions and 11 deletions

View File

@@ -1101,7 +1101,7 @@ auto LottieFromDocument(
QSize box) {
const auto data = document->data();
const auto filepath = document->filepath();
if (box.width() & box.height() > kDontCacheLottieAfterArea) {
if (box.width() * box.height() > kDontCacheLottieAfterArea) {
// Don't use frame caching for large stickers.
return method(
Lottie::ReadContent(data, filepath),