Update app.js

master
Andy Smy 2025-04-21 12:22:03 +01:00 committed by GitHub
parent 548e26f08f
commit 66f0422768
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ var over = 0;
var ballTimes = [];
var overTimes = [];
var log = []
var tossIndex = 4; // default to Cancel until recorded
var tossIndex = 0; // default to Cancel until recorded
function addLog(timeSig, over, ball, matchEvent, metaData) {
var csv = [
@ -243,11 +243,11 @@ function showTossMenu() {
processing = true;
Bangle.setUI();
var tossMenuItems = [
"Home Won: Bat",
"Home Won: Bowl",
"Away Won: Bat",
"Away Won: Bowl",
"Cancel"
"« Back",
"Home Won: Bat",
"Home Won: Bowl",
"Away Won: Bat",
"Away Won: Bowl"
];
return E.showScroller({
h : 40, c : tossMenuItems.length,