Allow empty arg list in rpl next/error handlers.

This commit is contained in:
John Preston
2017-09-27 21:29:13 +03:00
parent 21b1ba1f88
commit 5cc7cb1d85
21 changed files with 78 additions and 47 deletions
+1 -1
View File
@@ -246,7 +246,7 @@ void StickersBox::prepare() {
setNoContentMargin(true);
_tabs->sectionActivated()
| rpl::start_with_next(
[this](int) { switchTab(); },
[this] { switchTab(); },
lifetime());
refreshTabs();
}