mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add and use only rpl::start_with_*() methods.
This commit is contained in:
@@ -245,7 +245,9 @@ void StickersBox::prepare() {
|
||||
}
|
||||
setNoContentMargin(true);
|
||||
_tabs->sectionActivated()
|
||||
| rpl::start([this](int) { switchTab(); }, lifetime());
|
||||
| rpl::start_with_next(
|
||||
[this](int) { switchTab(); },
|
||||
lifetime());
|
||||
refreshTabs();
|
||||
}
|
||||
if (_installed.widget() && _section != Section::Installed) _installed.widget()->hide();
|
||||
|
Reference in New Issue
Block a user