Commit 836c1391 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Notifications] Avoid showing "0 seconds remaining"

It's a little awkward imho.


(cherry picked from commit 11b23fba)
parent 2a67a010
......@@ -155,8 +155,8 @@ RowLayout {
return "";
}
var eta = remaining / details.speed;
if (!eta) {
var eta = remaining / speed;
if (eta < 0.5) { // Avoid showing "0 seconds remaining"
return "";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment