Skip to content

Commit

Permalink
Fix ETA display for one to nine hours remaining
Browse files Browse the repository at this point in the history
  • Loading branch information
PerfectSlayer committed May 14, 2015
1 parent d5a6322 commit 51327f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ actionButton.etaUpdateCallback = function (downloads) {
} else {
// Display hours and minutes
var minutes = Math.ceil((maxEta%3600)/60);
actionButton = hours+"h"+minutes;
actionButton.badge = hours+"h"+minutes;
}
}
// Declare new update delay
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"icon64": "data/images/icon64.png",
"homepage": "http://blog.hardcoding.fr/other-projects/",
"license": "GPL v3",
"version": "0.7",
"version": "0.7.1",
"preferences": [
{
"name": "locationStrategy",
Expand Down

0 comments on commit 51327f5

Please sign in to comment.