mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix log in after password change by email.
This commit is contained in:
parent
d80b25944e
commit
5383ae3d96
2 changed files with 7 additions and 5 deletions
|
@ -324,7 +324,7 @@ passcodePadding: margins(0px, 0px, 0px, 5px);
|
||||||
passcodeTextLine: 28px;
|
passcodeTextLine: 28px;
|
||||||
passcodeLittleSkip: 5px;
|
passcodeLittleSkip: 5px;
|
||||||
passcodeAboutSkip: 7px;
|
passcodeAboutSkip: 7px;
|
||||||
passcodeSkip: 20px;
|
passcodeSkip: 23px;
|
||||||
|
|
||||||
newGroupAboutFg: windowSubTextFg;
|
newGroupAboutFg: windowSubTextFg;
|
||||||
newGroupPadding: margins(4px, 6px, 4px, 3px);
|
newGroupPadding: margins(4px, 6px, 4px, 3px);
|
||||||
|
|
|
@ -437,12 +437,14 @@ void PasscodeBox::recoverPasswordDone(
|
||||||
_setRequest = 0;
|
_setRequest = 0;
|
||||||
const auto weak = Ui::MakeWeak(this);
|
const auto weak = Ui::MakeWeak(this);
|
||||||
_newAuthorization.fire_copy(result);
|
_newAuthorization.fire_copy(result);
|
||||||
_newPasswordSet.fire_copy(newPasswordBytes);
|
|
||||||
if (weak) {
|
if (weak) {
|
||||||
getDelegate()->show(Box<InformBox>(
|
_newPasswordSet.fire_copy(newPasswordBytes);
|
||||||
tr::lng_cloud_password_updated(tr::now)));
|
|
||||||
if (weak) {
|
if (weak) {
|
||||||
closeBox();
|
getDelegate()->show(Box<InformBox>(
|
||||||
|
tr::lng_cloud_password_updated(tr::now)));
|
||||||
|
if (weak) {
|
||||||
|
closeBox();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue