Shorten the error message passive notification

The default timeout is a bit long, "short" is 3 seconds shorter than the
default. For  long-term network errors, we have a banner telling you so
anyway. This should hopefully reduce the notification spam when you have
temporary network dropouts.
This commit is contained in:
Joshua Goins
2024-09-06 05:15:31 -04:00
parent 354e3414a1
commit 8eaae4034d

View File

@@ -249,7 +249,7 @@ Kirigami.ApplicationWindow {
target: Controller
function onErrorOccured(error, detail) {
showPassiveNotification(detail.length > 0 ? i18n("%1: %2", error, detail) : error);
showPassiveNotification(detail.length > 0 ? i18n("%1: %2", error, detail) : error, "short");
}
}