mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use improved rpl::start().
This commit is contained in:
@@ -98,8 +98,9 @@ TopBarWidget::TopBarWidget(QWidget *parent, not_null<Window::Controller*> contro
|
||||
updateControlsVisibility(); });
|
||||
|
||||
Auth().data().thirdSectionInfoEnabledValue()
|
||||
| rpl::on_next([this](bool) { updateInfoToggleActive(); })
|
||||
| rpl::start(lifetime());
|
||||
| rpl::start(
|
||||
[this](bool) { updateInfoToggleActive(); },
|
||||
lifetime());
|
||||
|
||||
setCursor(style::cur_pointer);
|
||||
updateControlsVisibility();
|
||||
|
Reference in New Issue
Block a user