mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 09:11:43 +00:00
Update API scheme on layer 220.
This commit is contained in:
@@ -3986,12 +3986,6 @@ void Session::webpageApplyFields(
|
||||
auto auction = std::make_unique<WebPageAuction>();
|
||||
auction->auctionGift = std::make_shared<StarGift>(*gift);
|
||||
auction->endDate = data.vend_date().v;
|
||||
auction->centerColor = Ui::ColorFromSerialized(
|
||||
toUint(data.vcenter_color()));
|
||||
auction->edgeColor = Ui::ColorFromSerialized(
|
||||
toUint(data.vedge_color()));
|
||||
auction->textColor = Ui::ColorFromSerialized(
|
||||
toUint(data.vtext_color()));
|
||||
return auction;
|
||||
}, [](const auto &) -> WebPageAuctionPtr { return nullptr; });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user