mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
UI optimizations
This commit is contained in:
parent
5c71c08b6e
commit
5f3de7a40b
17 changed files with 158 additions and 74 deletions
|
|
@ -43,7 +43,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
_animation = rlottie::Animation::loadFromData(std::string(reinterpret_cast<const char *>(data.bytes), data.length), std::string([cacheKey UTF8String]), "", false, colorsVector, modifier);
|
||||
_animation = rlottie::Animation::loadFromData(std::string(reinterpret_cast<const char *>(data.bytes), data.length), std::string([cacheKey UTF8String]), "", cacheKey.length != 0, colorsVector, modifier);
|
||||
if (_animation == nullptr) {
|
||||
return nil;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,4 +22,8 @@
|
|||
#define LOTTIE_IMAGE_MODULE_DISABLED
|
||||
#endif
|
||||
|
||||
#ifndef LOTTIE_CACHE_SUPPORT
|
||||
#define LOTTIE_CACHE_SUPPORT
|
||||
#endif
|
||||
|
||||
#endif // CONFIG_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue