Hide shared media layer when jumping to message.

This commit is contained in:
John Preston 2024-12-31 16:44:22 +04:00
parent de34c75788
commit c23b533704

View file

@ -1528,6 +1528,7 @@ void MainWidget::showMessage(
if (_mainSection->showMessage(peerId, params, itemId)) {
if (params.activation != anim::activation::background) {
_controller->window().activate();
_controller->window().hideSettingsAndLayer();
}
return;
}