mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add rpl interface to RadiobuttonGroup.
This commit is contained in:
@@ -607,7 +607,7 @@ void ChooseMediaDeviceBox(
|
||||
button->finishAnimating();
|
||||
button->clicks(
|
||||
) | rpl::filter([=] {
|
||||
return (group->value() == index);
|
||||
return (group->current() == index);
|
||||
}) | rpl::start_with_next([=] {
|
||||
choose(id);
|
||||
}, button->lifetime());
|
||||
|
Reference in New Issue
Block a user