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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user