mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Fixed endless memory copying in list of credits history entries.
This commit is contained in:
parent
77d214d2a5
commit
66f375d2c6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue