mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 05:29:23 +00:00
Fixed endless memory copying in list of credits history entries.
This commit is contained in:
parent
77d214d2a5
commit
66f375d2c6
@ -243,7 +243,7 @@ PaintRoundImageCallback GenerateCreditsPaintEntryCallback(
|
|||||||
};
|
};
|
||||||
const auto state = std::make_shared<State>();
|
const auto state = std::make_shared<State>();
|
||||||
state->view = photo->createMediaView();
|
state->view = photo->createMediaView();
|
||||||
photo->load(Data::PhotoSize::Thumbnail, {});
|
photo->load(Data::PhotoSize::Large, {});
|
||||||
|
|
||||||
rpl::single(rpl::empty_value()) | rpl::then(
|
rpl::single(rpl::empty_value()) | rpl::then(
|
||||||
photo->owner().session().downloaderTaskFinished()
|
photo->owner().session().downloaderTaskFinished()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user