mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-29 16:58:07 +00:00
Fix possible crashes in toastParent expiring.
This commit is contained in:
@@ -110,7 +110,9 @@ void SendBotCallbackData(
|
||||
const auto showAlert = data.is_alert();
|
||||
|
||||
if (!message.isEmpty()) {
|
||||
if (showAlert) {
|
||||
if (!show->valid()) {
|
||||
return;
|
||||
} else if (showAlert) {
|
||||
show->showBox(Ui::MakeInformBox(message));
|
||||
} else {
|
||||
if (withPassword) {
|
||||
|
||||
Reference in New Issue
Block a user