mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Hide shared media layer when jumping to message.
This commit is contained in:
parent
de34c75788
commit
c23b533704
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue