Update app.js
parent
9d3c08cc47
commit
1cc2ac6eef
|
|
@ -256,12 +256,14 @@ function showMainMenu() {
|
||||||
processing = true;
|
processing = true;
|
||||||
Bangle.setUI();
|
Bangle.setUI();
|
||||||
var scrollMenuItems = [];
|
var scrollMenuItems = [];
|
||||||
if(over==0) scrollMenuItems.push("Call Play");
|
if(over==0) {
|
||||||
|
scrollMenuItems.push("Call Play");
|
||||||
|
}
|
||||||
if(over>0) {
|
if(over>0) {
|
||||||
scrollMenuItems.push("« Back", "Wicket");
|
scrollMenuItems.push("« Back", "Wicket");
|
||||||
if(wickets>0) scrollMenuItems.push("Recall");
|
if(wickets>0) scrollMenuItems.push("Recall");
|
||||||
|
scrollMenuItems.push("Call Time");
|
||||||
}
|
}
|
||||||
// if(over==0) scrollMenuItems.push("Toss");
|
|
||||||
|
|
||||||
return E.showScroller({
|
return E.showScroller({
|
||||||
h : 80, c : scrollMenuItems.length,
|
h : 80, c : scrollMenuItems.length,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue