mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Destroy volume dropdown after volume toggle.
This fixes https://bugs.telegram.org/c/31989 When destroying the dropdown first, the volume toggle receives an Enter event and tries to show the dropdown (that is being destroyed).
This commit is contained in:
parent
6af527ac76
commit
64dcae3174
1 changed files with 1 additions and 1 deletions
|
@ -403,9 +403,9 @@ void Header::show(HeaderData data) {
|
|||
_pauseState = _controller->pauseState();
|
||||
applyPauseState();
|
||||
} else {
|
||||
_volume = nullptr;
|
||||
_playPause = nullptr;
|
||||
_volumeToggle = nullptr;
|
||||
_volume = nullptr;
|
||||
}
|
||||
|
||||
rpl::combine(
|
||||
|
|
Loading…
Add table
Reference in a new issue