Removed error toast for async graphs.

This commit is contained in:
23rd 2023-10-22 22:16:05 +03:00 committed by John Preston
parent d4db838d43
commit 29f8493a82

View file

@ -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());