2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use improved rpl::start().

This commit is contained in:
John Preston
2017-09-18 20:04:45 +03:00
parent ee9763c98f
commit 766e7dadb1
31 changed files with 145 additions and 179 deletions

View File

@@ -57,11 +57,10 @@ void StickerSetBox::prepare() {
connect(_inner, SIGNAL(updateButtons()), this, SLOT(onUpdateButtons()));
_inner->setInstalled()
| rpl::on_next([this](auto &&setId) {
| rpl::start([this](auto &&setId) {
Auth().api().stickerSetInstalled(setId);
closeBox();
})
| rpl::start(lifetime());
}, lifetime());
}
void StickerSetBox::onAddStickers() {