Browse Source

Safe calorie diff.

master
Stian Aune 5 years ago
parent
commit
b2b13c297c
  1. 4
      contentScript.js

4
contentScript.js

@ -373,6 +373,10 @@ if (typeof Overlay === "undefined") {
}
calorieDiff() {
if (this.workoutStatus == null) {
return 0;
}
const {minutes, seconds, calories} = this.workoutStatus;
const expected = this.expectedCalories(minutes, seconds);

Loading…
Cancel
Save