mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Allow empty arg list in rpl next/error handlers.
This commit is contained in:
@@ -1847,7 +1847,7 @@ void MainWidget::createPlayer() {
|
||||
_player.create(this);
|
||||
_player->heightValue()
|
||||
| rpl::start_with_next(
|
||||
[this](int) { playerHeightUpdated(); },
|
||||
[this] { playerHeightUpdated(); },
|
||||
lifetime());
|
||||
_player->entity()->setCloseCallback([this] { closeBothPlayers(); });
|
||||
_playerVolume.create(this);
|
||||
|
Reference in New Issue
Block a user