mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
parent
6c382c647c
commit
c0959ceaeb
1 changed files with 1 additions and 1 deletions
|
@ -3110,7 +3110,7 @@ bool OverlayWidget::moveToEntity(const Entity &entity, int preloadDelta) {
|
||||||
setContext(std::nullopt);
|
setContext(std::nullopt);
|
||||||
}
|
}
|
||||||
clearStreaming();
|
clearStreaming();
|
||||||
_streamingStartPaused = true;
|
_streamingStartPaused = false;
|
||||||
if (auto photo = base::get_if<not_null<PhotoData*>>(&entity.data)) {
|
if (auto photo = base::get_if<not_null<PhotoData*>>(&entity.data)) {
|
||||||
displayPhoto(*photo, entity.item);
|
displayPhoto(*photo, entity.item);
|
||||||
} else if (auto document = base::get_if<not_null<DocumentData*>>(&entity.data)) {
|
} else if (auto document = base::get_if<not_null<DocumentData*>>(&entity.data)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue