mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-29 13:39:06 +00:00
Fix build with Xcode.
This commit is contained in:
parent
1988435cdf
commit
b58c03f0de
@ -298,7 +298,6 @@ PaintRoundImageCallback GenerateCreditsPaintEntryCallback(
|
|||||||
rpl::single(rpl::empty_value()) | rpl::then(
|
rpl::single(rpl::empty_value()) | rpl::then(
|
||||||
video->owner().session().downloaderTaskFinished()
|
video->owner().session().downloaderTaskFinished()
|
||||||
) | rpl::start_with_next([=] {
|
) | rpl::start_with_next([=] {
|
||||||
using Size = Data::PhotoSize;
|
|
||||||
if (const auto thumbnail = state->view->thumbnail()) {
|
if (const auto thumbnail = state->view->thumbnail()) {
|
||||||
state->imagePtr = thumbnail;
|
state->imagePtr = thumbnail;
|
||||||
}
|
}
|
||||||
@ -421,7 +420,6 @@ PaintRoundImageCallback GeneratePaidMediaPaintCallback(
|
|||||||
Fn<PaintRoundImageCallback(Fn<void()>)> PaintPreviewCallback(
|
Fn<PaintRoundImageCallback(Fn<void()>)> PaintPreviewCallback(
|
||||||
not_null<Main::Session*> session,
|
not_null<Main::Session*> session,
|
||||||
const Data::CreditsHistoryEntry &entry) {
|
const Data::CreditsHistoryEntry &entry) {
|
||||||
using MediaType = Data::CreditsHistoryMediaType;
|
|
||||||
const auto &extended = entry.extended;
|
const auto &extended = entry.extended;
|
||||||
if (!extended.empty()) {
|
if (!extended.empty()) {
|
||||||
return [=](Fn<void()> update) {
|
return [=](Fn<void()> update) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user