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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user