mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Allow adding Settings::Section-s without changing Type.
This commit is contained in:
@@ -234,7 +234,7 @@ void Reactions::loadImage(
|
||||
|
||||
void Reactions::setLottie(ImageSet &set) {
|
||||
const auto size = style::ConvertScale(kSizeForDownscale);
|
||||
set.icon = std::make_unique<Lottie::Icon>(Lottie::IconDescriptor{
|
||||
set.icon = Lottie::MakeIcon({
|
||||
.path = set.media->owner()->filepath(true),
|
||||
.json = set.media->bytes(),
|
||||
.sizeOverride = QSize(size, size),
|
||||
|
Reference in New Issue
Block a user