mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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(
|
void PremiumGift::draw(
|
||||||
Painter &p,
|
Painter &p,
|
||||||
const PaintContext &context,
|
const PaintContext &context,
|
||||||
|
|
|
@ -28,6 +28,7 @@ public:
|
||||||
QString title() override;
|
QString title() override;
|
||||||
TextWithEntities subtitle() override;
|
TextWithEntities subtitle() override;
|
||||||
QString button() override;
|
QString button() override;
|
||||||
|
int buttonSkip() override;
|
||||||
void draw(
|
void draw(
|
||||||
Painter &p,
|
Painter &p,
|
||||||
const PaintContext &context,
|
const PaintContext &context,
|
||||||
|
|
Loading…
Add table
Reference in a new issue