2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Closed beta version 1.3.16.1: Fix build for Xcode.

This commit is contained in:
John Preston
2018-09-11 23:02:07 +03:00
parent 88175aff1f
commit a5f407a458
5 changed files with 6 additions and 9 deletions

View File

@@ -4983,7 +4983,7 @@ void ApiWrap::clearUnconfirmedPassword() {
rpl::producer<Core::CloudPasswordState> ApiWrap::passwordState() const {
return _passwordState
? _passwordStateChanges.events_starting_with_copy(*_passwordState)
: _passwordStateChanges.events();
: (_passwordStateChanges.events() | rpl::type_erased());
}
auto ApiWrap::passwordStateCurrent() const