Update app.js

master
Andy Smy 2025-04-21 22:39:47 +01:00 committed by GitHub
parent 9d3c08cc47
commit 1cc2ac6eef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -256,12 +256,14 @@ function showMainMenu() {
processing = true;
Bangle.setUI();
var scrollMenuItems = [];
if(over==0) scrollMenuItems.push("Call Play");
if(over==0) {
scrollMenuItems.push("Call Play");
}
if(over>0) {
scrollMenuItems.push("« Back", "Wicket");
if(wickets>0) scrollMenuItems.push("Recall");
scrollMenuItems.push("Call Time");
}
// if(over==0) scrollMenuItems.push("Toss");
return E.showScroller({
h : 80, c : scrollMenuItems.length,