skyspy: I misunderstood implications of "back", should now be fixed

pull/3094/head
Pavel Machek 2023-11-15 11:01:38 +01:00
parent ed80f56839
commit 29c1f0a1fa
1 changed files with 2 additions and 3 deletions

View File

@ -252,9 +252,8 @@ function onSwipe(dir) {
Bangle.setUI({
mode : "custom",
back : function() {}, // optional - add a 'back' icon in top-left widget area and call this function when it is pressed , also call it when the hardware button is clicked (does not override btn if defined)
swipe : onSwipe, // optional - (mode:custom only) handler for 'swipe' events
clock : 0 // optional - if set the behavior of 'clock' mode is added (does not override btn if defined)
swipe : onSwipe,
clock : 0
});
Bangle.loadWidgets();
Bangle.drawWidgets();