Update settings.js

Deprecated ballsteplimit
master
Andy Smy 2025-05-12 23:12:42 +01:00 committed by GitHub
parent 70bf22ee68
commit 1d8996f3c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 9 deletions

View File

@ -4,7 +4,6 @@
var settings = Object.assign({
ballsPerOver: 6,
oversPerInnings: 20,
ballStepLimit: 500,
heartRateLimit: 100
}, require('Storage').readJSON(FILE, true) || {});
@ -32,14 +31,6 @@
writeSettings();
}
},
'Auto-log ball': {
value: settings.ballStepLimit,
min: 200, max: 600,
onchange: v => {
settings.ballStepLimit = v;
writeSettings();
}
},
'Auto-log HRM': {
value: settings.heartRateLimit,
min: 100, max: 200,