Update app.js

master
Andy Smy 2025-04-21 20:39:17 +01:00 committed by GitHub
parent 42392fa587
commit ce28333d05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 1 deletions

View File

@ -288,7 +288,7 @@ function showMainMenu() {
scrollMenuItems.push("Wicket");
if(wickets>0) scrollMenuItems.push("Recall");
}
if(over==0) scrollMenuItems.push("Toss");
// if(over==0) scrollMenuItems.push("Toss");
return E.showScroller({
h : 80, c : scrollMenuItems.length,
@ -313,3 +313,12 @@ var timeSig = new Date();
addLog(timeSig, "155", "a", "Date", timeSig.toUTCString());
var menu = showMainMenu();
Bangle.setUI({
mode : "custom",
swipe : (directionLR, directionUD)=>{
console.log("swipe");
},
btn : ()=>{
console.log("btn");
}
});