mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Fixed error handler of wrong cloud password for withdrawal button.
This commit is contained in:
parent
9c185a30e0
commit
d6863074b2
1 changed files with 4 additions and 1 deletions
|
@ -89,7 +89,10 @@ void HandleWithdrawalButton(
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const auto fail = [=](const MTP::Error &error) {
|
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) {
|
if (channel) {
|
||||||
session->api().request(
|
session->api().request(
|
||||||
|
|
Loading…
Add table
Reference in a new issue