Hide phone UI action in EvenAnchor menu

This commit is contained in:
Blendman974 committed 2026-11-14 20:55:08 +01:00
1 parent 3dd307483d
commit 3eb9b09e3d
1 file changed
+2 -1
+2 -1
View File
@@ -96,7 +96,8 @@ export function createEvenHubWindow(
})),
// Glasses-first: the app runs without the phone showing it; this reveals
// its phone UI (config pages, etc.) over the dashboard on demand.
{ label: "Show phone UI", onSelect: (ctx: LayerContext) => { ctx.stack.pop(); onShowPhone(); } },
...(session.manifest.packageId === "dev.guillaume.evenanchor" && session.contextMenuItems().length > 0
? [] : [{ label: "Show phone UI", onSelect: (ctx: LayerContext) => { ctx.stack.pop(); onShowPhone(); } }]),
],
actions: options.actions,
baseLayer: appLayer,