mirror of
https://github.com/vale981/tdesktop
synced 2025-03-06 02:01:40 -05:00
parent
d601b60903
commit
96556d4a4c
1 changed files with 1 additions and 1 deletions
|
@ -297,7 +297,7 @@ not_null<Ui::RpWidget*> SettingsWidget::setupButtons(
|
|||
}));
|
||||
|
||||
value() | rpl::map([](const Settings &data) {
|
||||
return data.types != Types(0);
|
||||
return (data.types != Types(0)) || data.onlySinglePeer();
|
||||
}) | rpl::distinct_until_changed(
|
||||
) | rpl::start_with_next([=](bool canStart) {
|
||||
refreshButtons(buttons, canStart);
|
||||
|
|
Loading…
Add table
Reference in a new issue