Fixed context menu for gift service actions.

This commit is contained in:
23rd 2022-07-27 01:08:48 +03:00
parent 3602155f68
commit 7e208453c7
2 changed files with 0 additions and 6 deletions

View File

@ -189,10 +189,6 @@ void MediaGift::clickHandlerPressedChanged(
}
}
DocumentData *MediaGift::getDocument() const {
return _sticker ? _sticker->document() : nullptr;
}
void MediaGift::stickerClearLoopPlayed() {
if (_sticker) {
_sticker->stickerClearLoopPlayed();

View File

@ -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,