2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fixed error handler of wrong cloud password for withdrawal button.

This commit is contained in:
23rd
2024-10-24 19:46:35 +03:00
parent 9c185a30e0
commit d6863074b2

View File

@@ -89,7 +89,10 @@ void HandleWithdrawalButton(
}
};
const auto fail = [=](const MTP::Error &error) {
show->showToast(error.type());
const auto message = error.type();
if (box && !box->handleCustomCheckError(message)) {
show->showToast(message);
}
};
if (channel) {
session->api().request(