mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-29 13:47:47 +00:00
Fix premium gift message layout.
This commit is contained in:
parent
de0b79aee8
commit
b46799f2c3
@ -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…
x
Reference in New Issue
Block a user