mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fix build with Xcode.
This commit is contained in:
parent
1988435cdf
commit
b58c03f0de
1 changed files with 0 additions and 2 deletions
|
@ -298,7 +298,6 @@ PaintRoundImageCallback GenerateCreditsPaintEntryCallback(
|
|||
rpl::single(rpl::empty_value()) | rpl::then(
|
||||
video->owner().session().downloaderTaskFinished()
|
||||
) | rpl::start_with_next([=] {
|
||||
using Size = Data::PhotoSize;
|
||||
if (const auto thumbnail = state->view->thumbnail()) {
|
||||
state->imagePtr = thumbnail;
|
||||
}
|
||||
|
@ -421,7 +420,6 @@ PaintRoundImageCallback GeneratePaidMediaPaintCallback(
|
|||
Fn<PaintRoundImageCallback(Fn<void()>)> PaintPreviewCallback(
|
||||
not_null<Main::Session*> session,
|
||||
const Data::CreditsHistoryEntry &entry) {
|
||||
using MediaType = Data::CreditsHistoryMediaType;
|
||||
const auto &extended = entry.extended;
|
||||
if (!extended.empty()) {
|
||||
return [=](Fn<void()> update) {
|
||||
|
|
Loading…
Add table
Reference in a new issue