mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 22:11:22 +00:00
lottieplayer: remove redundant calls.
Those calls are useless on load time. Change-Id: If69033eb244078c4f9b9258fcbc71eff17b894c9
This commit is contained in:
parent
b73a2cfdcf
commit
a36f340a0b
@ -119,10 +119,6 @@ bool LOTPlayerPrivate::setFilePath(std::string path)
|
|||||||
if (loader.load(path)) {
|
if (loader.load(path)) {
|
||||||
mModel = loader.model();
|
mModel = loader.model();
|
||||||
mCompItem = std::make_unique<LOTCompItem>(mModel.get());
|
mCompItem = std::make_unique<LOTCompItem>(mModel.get());
|
||||||
if (!mSize.isEmpty()) {
|
|
||||||
setSize(mSize);
|
|
||||||
setPos(0);
|
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user