2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Save value without closing the passport panel.

This commit is contained in:
John Preston
2018-04-06 22:47:29 +04:00
parent d0e854e9d8
commit 35dcbe0aa0
10 changed files with 196 additions and 104 deletions

View File

@@ -205,8 +205,8 @@ public:
Dialogs::Key chat,
QDate requestedDate);
void showAuthForm(const Passport::FormRequest &request);
void clearAuthForm();
void showPassportForm(const Passport::FormRequest &request);
void clearPassportForm();
base::Variable<bool> &dialogsListFocused() {
return _dialogsListFocused;
@@ -254,7 +254,7 @@ private:
not_null<MainWindow*> _window;
std::unique_ptr<Passport::FormController> _authForm;
std::unique_ptr<Passport::FormController> _passportForm;
GifPauseReasons _gifPauseReasons = 0;
base::Observable<void> _gifPauseLevelChanged;