Fix premium gift message layout.

This commit is contained in:
John Preston 2023-07-17 11:58:56 +04:00
parent de0b79aee8
commit b46799f2c3
2 changed files with 5 additions and 0 deletions

View File

@ -76,6 +76,10 @@ ClickHandlerPtr PremiumGift::createViewLink() {
});
}
int PremiumGift::buttonSkip() {
return st::msgServiceGiftBoxButtonMargins.top();
}
void PremiumGift::draw(
Painter &p,
const PaintContext &context,

View File

@ -28,6 +28,7 @@ public:
QString title() override;
TextWithEntities subtitle() override;
QString button() override;
int buttonSkip() override;
void draw(
Painter &p,
const PaintContext &context,