Update API scheme on layer 220.

This commit is contained in:
John Preston
2025-12-02 12:23:29 +04:00
parent 48f9a92cc3
commit 0cc21e5ca2
8 changed files with 56 additions and 33 deletions
@@ -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; });
}