Fixed context menu for gift service actions.
This commit is contained in:
parent
3602155f68
commit
7e208453c7
|
@ -189,10 +189,6 @@ void MediaGift::clickHandlerPressedChanged(
|
|||
}
|
||||
}
|
||||
|
||||
DocumentData *MediaGift::getDocument() const {
|
||||
return _sticker ? _sticker->document() : nullptr;
|
||||
}
|
||||
|
||||
void MediaGift::stickerClearLoopPlayed() {
|
||||
if (_sticker) {
|
||||
_sticker->stickerClearLoopPlayed();
|
||||
|
|
|
@ -41,8 +41,6 @@ public:
|
|||
const ClickHandlerPtr &handler,
|
||||
bool pressed) override;
|
||||
|
||||
DocumentData *getDocument() const override;
|
||||
|
||||
void stickerClearLoopPlayed() override;
|
||||
std::unique_ptr<Lottie::SinglePlayer> stickerTakeLottie(
|
||||
not_null<DocumentData*> data,
|
||||
|
|
Loading…
Reference in New Issue