From 60a631d84f3da786b070ec4db2bf89b1ba346f1f Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.com⁩> Date: Wed, 22 Feb 2023 20:29:17 +0100 Subject: [PATCH] fixes to draw correctly and in a timely manner when swiping to the karvonnen ui depending on if we have hrm data or not --- apps/runplus/app.js | 6 +++--- apps/runplus/karvonnen.js | 9 ++++----- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/apps/runplus/app.js b/apps/runplus/app.js index e2c23cafe..15e042759 100644 --- a/apps/runplus/app.js +++ b/apps/runplus/app.js @@ -41,12 +41,12 @@ let settings = Object.assign({ time: { value: 0, notifications: [], - } + }, }, HRM: { min: 65, max: 170, - } + }, }, require("Storage").readJSON("runplus.json", 1) || {}); let statIDs = [settings.B1,settings.B2,settings.B3,settings.B4,settings.B5,settings.B6].filter(s=>s!==""); let exs = ExStats.getStats(statIDs, settings); @@ -100,7 +100,7 @@ function onStartStop() { let lc = []; // Load stats in pair by pair for (let i=0;i