mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Fixed context menu for gift service actions.
This commit is contained in:
parent
3602155f68
commit
7e208453c7
2 changed files with 0 additions and 6 deletions
|
@ -189,10 +189,6 @@ void MediaGift::clickHandlerPressedChanged(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DocumentData *MediaGift::getDocument() const {
|
|
||||||
return _sticker ? _sticker->document() : nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
void MediaGift::stickerClearLoopPlayed() {
|
void MediaGift::stickerClearLoopPlayed() {
|
||||||
if (_sticker) {
|
if (_sticker) {
|
||||||
_sticker->stickerClearLoopPlayed();
|
_sticker->stickerClearLoopPlayed();
|
||||||
|
|
|
@ -41,8 +41,6 @@ public:
|
||||||
const ClickHandlerPtr &handler,
|
const ClickHandlerPtr &handler,
|
||||||
bool pressed) override;
|
bool pressed) override;
|
||||||
|
|
||||||
DocumentData *getDocument() const override;
|
|
||||||
|
|
||||||
void stickerClearLoopPlayed() override;
|
void stickerClearLoopPlayed() override;
|
||||||
std::unique_ptr<Lottie::SinglePlayer> stickerTakeLottie(
|
std::unique_ptr<Lottie::SinglePlayer> stickerTakeLottie(
|
||||||
not_null<DocumentData*> data,
|
not_null<DocumentData*> data,
|
||||||
|
|
Loading…
Add table
Reference in a new issue