mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 (_mainSection->showMessage(peerId, params, itemId)) {
|
||||||
if (params.activation != anim::activation::background) {
|
if (params.activation != anim::activation::background) {
|
||||||
_controller->window().activate();
|
_controller->window().activate();
|
||||||
|
_controller->window().hideSettingsAndLayer();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue