mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Support animated stickers in inline results.
This commit is contained in:
@@ -524,9 +524,8 @@ void StickerSetBox::Inner::setupLottie(int index) {
|
||||
const auto animation = element.animated.get();
|
||||
|
||||
animation->updates(
|
||||
) | rpl::start_with_next_error([=](Lottie::Update update) {
|
||||
this->update();
|
||||
}, [=](Lottie::Error error) {
|
||||
) | rpl::start_with_next([=] {
|
||||
update();
|
||||
}, lifetime());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user