diff --git a/Telegram/SourceFiles/editor/editor_paint.cpp b/Telegram/SourceFiles/editor/editor_paint.cpp index efe8e35b3d..a48f7fef6a 100644 --- a/Telegram/SourceFiles/editor/editor_paint.cpp +++ b/Telegram/SourceFiles/editor/editor_paint.cpp @@ -132,7 +132,7 @@ Paint::Paint( controllers->stickersPanelController ? controllers->stickersPanelController->stickerChosen( ) | rpl::to_empty - : rpl::never<>(), + : rpl::never<>() | rpl::type_erased(), _scene->addsItem() ) | rpl::start_with_next([=] { clearRedoList(); diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index 218950c59f..5969ddeb5f 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -4256,7 +4256,7 @@ void HistoryWidget::updateFieldPlaceholder() { return; } - _field->setPlaceholder([&] { + _field->setPlaceholder([&]() -> rpl::producer { if (_editMsgId) { return tr::lng_edit_message_text(); } else if (!_history) {