mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix premium gift message layout.
This commit is contained in:
parent
de0b79aee8
commit
b46799f2c3
2 changed files with 5 additions and 0 deletions
|
@ -76,6 +76,10 @@ ClickHandlerPtr PremiumGift::createViewLink() {
|
|||
});
|
||||
}
|
||||
|
||||
int PremiumGift::buttonSkip() {
|
||||
return st::msgServiceGiftBoxButtonMargins.top();
|
||||
}
|
||||
|
||||
void PremiumGift::draw(
|
||||
Painter &p,
|
||||
const PaintContext &context,
|
||||
|
|
|
@ -28,6 +28,7 @@ public:
|
|||
QString title() override;
|
||||
TextWithEntities subtitle() override;
|
||||
QString button() override;
|
||||
int buttonSkip() override;
|
||||
void draw(
|
||||
Painter &p,
|
||||
const PaintContext &context,
|
||||
|
|
Loading…
Add table
Reference in a new issue