We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent febeda3 commit 25af19dCopy full SHA for 25af19d
apps/promenu/bootb2.ts
@@ -264,7 +264,7 @@ E.showMenu = ((items?: Menu): MenuInstance | void => {
264
cb(void 0, xy);
265
}) satisfies TouchCallback;
266
267
- Bangle.setUI({
+ const uiopts = {
268
mode: "updown",
269
back: back as () => void,
270
remove: () => {
@@ -273,7 +273,9 @@ E.showMenu = ((items?: Menu): MenuInstance | void => {
273
options.remove?.();
274
},
275
touch: touchcb,
276
- } as SetUIArg<"updown">, cb);
+ } as SetUIArg<"updown">;
277
+
278
+ Bangle.setUI(uiopts, cb);
279
280
return l;
281
}) as typeof E.showMenu;
0 commit comments