mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Removed error toast for async graphs.
This commit is contained in:
parent
d4db838d43
commit
29f8493a82
1 changed files with 2 additions and 3 deletions
|
@ -124,10 +124,9 @@ void FillStatistic(
|
||||||
ProcessZoom(descriptor, widget, graph.zoomToken, type);
|
ProcessZoom(descriptor, widget, graph.zoomToken, type);
|
||||||
widget->setTitle(rpl::duplicate(title));
|
widget->setTitle(rpl::duplicate(title));
|
||||||
} else if (!graph.error.isEmpty()) {
|
} else if (!graph.error.isEmpty()) {
|
||||||
Ui::Toast::Show(descriptor.toastParent, graph.error);
|
|
||||||
}
|
}
|
||||||
}, [=](const QString &error) {
|
}, [](const QString &error) {
|
||||||
}, [=] {
|
}, [] {
|
||||||
}, content->lifetime());
|
}, content->lifetime());
|
||||||
|
|
||||||
addSkip(wrap->entity());
|
addSkip(wrap->entity());
|
||||||
|
|
Loading…
Add table
Reference in a new issue