mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +00:00
@@ -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)) {
|
||||||
|
Reference in New Issue
Block a user