Beta version 2.8.6: Fix build for macOS.

This commit is contained in:
John Preston 2021-07-06 20:25:46 +03:00
parent 46d393ea0f
commit d5a416d5ea
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -4256,7 +4256,7 @@ void HistoryWidget::updateFieldPlaceholder() {
return;
}
_field->setPlaceholder([&] {
_field->setPlaceholder([&]() -> rpl::producer<QString> {
if (_editMsgId) {
return tr::lng_edit_message_text();
} else if (!_history) {