mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed crash in RecoverBox from PasscodeBox with custom check callback.
This commit is contained in:
parent
15aefddab4
commit
7e7562fdad
1 changed files with 1 additions and 0 deletions
|
@ -1297,6 +1297,7 @@ void RecoverBox::proceedToChange(const QString &code) {
|
|||
// like if (_cloudFields.turningOff) { just RecoverPassword else Check }
|
||||
fields.mtp.curRequest = {};
|
||||
fields.hasPassword = false;
|
||||
fields.customCheckCallback = nullptr;
|
||||
auto box = Box<PasscodeBox>(_session, fields);
|
||||
|
||||
box->boxClosing(
|
||||
|
|
Loading…
Add table
Reference in a new issue