2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-18 13:59:46 +00:00

Cross-fade login QR.

This commit is contained in:
John Preston
2019-11-26 17:27:09 +03:00
parent f4bf79b067
commit a0152557ec
11 changed files with 78 additions and 41 deletions

View File

@@ -78,7 +78,6 @@ public:
[[nodiscard]] int contentTop() const;
void setErrorCentered(bool centered);
void setErrorBelowLink(bool below);
void showError(rpl::producer<QString> text);
void hideError() {
showError(rpl::single(QString()));
@@ -128,6 +127,8 @@ protected:
}
}
virtual int errorTop() const;
private:
struct CoverAnimation {
CoverAnimation() = default;