mirror of https://github.com/procxx/kepka.git
Closed beta version 1.3.16.1: Fix build for Xcode.
This commit is contained in:
parent
88175aff1f
commit
a5f407a458
|
@ -4983,7 +4983,7 @@ void ApiWrap::clearUnconfirmedPassword() {
|
||||||
rpl::producer<Core::CloudPasswordState> ApiWrap::passwordState() const {
|
rpl::producer<Core::CloudPasswordState> ApiWrap::passwordState() const {
|
||||||
return _passwordState
|
return _passwordState
|
||||||
? _passwordStateChanges.events_starting_with_copy(*_passwordState)
|
? _passwordStateChanges.events_starting_with_copy(*_passwordState)
|
||||||
: _passwordStateChanges.events();
|
: (_passwordStateChanges.events() | rpl::type_erased());
|
||||||
}
|
}
|
||||||
|
|
||||||
auto ApiWrap::passwordStateCurrent() const
|
auto ApiWrap::passwordStateCurrent() const
|
||||||
|
|
|
@ -381,8 +381,7 @@ void SetupTray(not_null<Ui::VerticalLayout*> container) {
|
||||||
}
|
}
|
||||||
|
|
||||||
General::General(QWidget *parent, UserData *self)
|
General::General(QWidget *parent, UserData *self)
|
||||||
: Section(parent)
|
: Section(parent) {
|
||||||
, _self(self) {
|
|
||||||
setupContent();
|
setupContent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,6 @@ public:
|
||||||
private:
|
private:
|
||||||
void setupContent();
|
void setupContent();
|
||||||
|
|
||||||
UserData *_self = nullptr;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Settings
|
} // namespace Settings
|
||||||
|
|
|
@ -196,9 +196,9 @@ private:
|
||||||
|
|
||||||
IntroWidget::IntroWidget(QWidget *parent)
|
IntroWidget::IntroWidget(QWidget *parent)
|
||||||
: RpWidget(parent)
|
: RpWidget(parent)
|
||||||
, _topShadow(this)
|
|
||||||
, _wrap(this)
|
, _wrap(this)
|
||||||
, _scroll(Ui::CreateChild<Ui::ScrollArea>(_wrap.data(), st::infoScroll)) {
|
, _scroll(Ui::CreateChild<Ui::ScrollArea>(_wrap.data(), st::infoScroll))
|
||||||
|
, _topShadow(this) {
|
||||||
_wrap->setAttribute(Qt::WA_OpaquePaintEvent);
|
_wrap->setAttribute(Qt::WA_OpaquePaintEvent);
|
||||||
_wrap->paintRequest(
|
_wrap->paintRequest(
|
||||||
) | rpl::start_with_next([=](QRect clip) {
|
) | rpl::start_with_next([=](QRect clip) {
|
||||||
|
|
|
@ -193,7 +193,7 @@ rpl::producer<bool> SetupLocalPasscode(
|
||||||
|
|
||||||
wrap->toggleOn(base::duplicate(has));
|
wrap->toggleOn(base::duplicate(has));
|
||||||
|
|
||||||
return std::move(has);
|
return has;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CheckEditCloudPassword() {
|
bool CheckEditCloudPassword() {
|
||||||
|
@ -365,7 +365,7 @@ rpl::producer<bool> SetupCloudPassword(
|
||||||
reloadOnActivation);
|
reloadOnActivation);
|
||||||
|
|
||||||
Auth().api().reloadPasswordState();
|
Auth().api().reloadPasswordState();
|
||||||
return std::move(has);
|
return has;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetupSelfDestruction(not_null<Ui::VerticalLayout*> container) {
|
void SetupSelfDestruction(not_null<Ui::VerticalLayout*> container) {
|
||||||
|
|
Loading…
Reference in New Issue