2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added ability to force open media viewer from overview layout.

This commit is contained in:
23rd
2021-07-22 19:12:30 +03:00
committed by John Preston
parent b366c27a0c
commit abdd2fa99b
5 changed files with 16 additions and 7 deletions

View File

@@ -117,7 +117,9 @@ protected:
ClickHandlerPtr &&openl,
ClickHandlerPtr &&savel,
ClickHandlerPtr &&cancell);
void setDocumentLinks(not_null<DocumentData*> document);
void setDocumentLinks(
not_null<DocumentData*> document,
bool forceOpen = false);
void radialAnimationCallback(crl::time now) const;