Fixed endless memory copying in list of credits history entries.

This commit is contained in:
23rd 2024-06-28 13:22:28 +03:00 committed by John Preston
parent 77d214d2a5
commit 66f375d2c6

View file

@ -243,7 +243,7 @@ PaintRoundImageCallback GenerateCreditsPaintEntryCallback(
};
const auto state = std::make_shared<State>();
state->view = photo->createMediaView();
photo->load(Data::PhotoSize::Thumbnail, {});
photo->load(Data::PhotoSize::Large, {});
rpl::single(rpl::empty_value()) | rpl::then(
photo->owner().session().downloaderTaskFinished()