From 8eaae4034d2675d126c00b43a5d47f87483c4cc6 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Fri, 6 Sep 2024 05:15:31 -0400 Subject: [PATCH] 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. --- src/qml/Main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/Main.qml b/src/qml/Main.qml index 90db71021..b1e113d31 100644 --- a/src/qml/Main.qml +++ b/src/qml/Main.qml @@ -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"); } }