mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix volume control disappearing in audio player.
This commit is contained in:
@@ -1756,7 +1756,9 @@ void MainWidget::createPlayer() {
|
|||||||
}
|
}
|
||||||
if (!_player) {
|
if (!_player) {
|
||||||
_player.create(this);
|
_player.create(this);
|
||||||
_player->heightValue()
|
rpl::merge(
|
||||||
|
_player->heightValue() | rpl::map([] { return true; }),
|
||||||
|
_player->shownValue())
|
||||||
| rpl::start_with_next(
|
| rpl::start_with_next(
|
||||||
[this] { playerHeightUpdated(); },
|
[this] { playerHeightUpdated(); },
|
||||||
lifetime());
|
lifetime());
|
||||||
|
Reference in New Issue
Block a user