[Notifications] Restore "details" reference

Oops...
wilder-5.24
Kai Uwe Broulik 5 years ago
parent 11b23fba8e
commit 00b3bb6ff6
  1. 2
      applets/notifications/package/contents/ui/NotificationHeader.qml

@ -154,7 +154,7 @@ RowLayout {
return ""; return "";
} }
var eta = remaining / speed; var eta = remaining / details.speed;
if (eta < 0.5) { // Avoid showing "0 seconds remaining" if (eta < 0.5) { // Avoid showing "0 seconds remaining"
return ""; return "";
} }

Loading…
Cancel
Save