mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-25 16:02:52 +00:00
Closed beta 1.3.7.1: Fix build for Xcode.
This commit is contained in:
parent
52f2f96f36
commit
9b98ff52ea
@ -265,7 +265,9 @@ ProgressWidget::ProgressWidget(
|
||||
}
|
||||
|
||||
rpl::producer<> ProgressWidget::cancelClicks() const {
|
||||
return _cancel ? _cancel->clicks() : rpl::never<>();
|
||||
return _cancel
|
||||
? _cancel->clicks()
|
||||
: (rpl::never<>() | rpl::type_erased());
|
||||
}
|
||||
|
||||
rpl::producer<> ProgressWidget::doneClicks() const {
|
||||
|
Loading…
Reference in New Issue
Block a user