Just removed `btn:` as this doesn't work anyway (the callback is called with `1` as an argument so `load` would fail) and back via button is added automatically #2139 #2140

pull/2143/head^2
Gordon Williams 2022-09-23 08:51:02 +01:00
parent 75066fae86
commit ca206def94
2 changed files with 2 additions and 4 deletions

View File

@ -71,6 +71,5 @@ function drawImage() {
setTimeout(drawInfo, 1000); setTimeout(drawInfo, 1000);
Bangle.setUI({ Bangle.setUI({
mode : "custom", mode : "custom",
back : load, back : load
btn : load
}); });

View File

@ -49,8 +49,7 @@
drawInfo(); drawInfo();
Bangle.setUI({ Bangle.setUI({
mode : "custom", mode : "custom",
back : load, back : load
btn : load
}) })
} }