mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 05:51:42 +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)) {
|
||||
mModel = loader.model();
|
||||
mCompItem = std::make_unique<LOTCompItem>(mModel.get());
|
||||
if (!mSize.isEmpty()) {
|
||||
setSize(mSize);
|
||||
setPos(0);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user