From 3eb9b09e3dce1bda19acc35a87d8fe27ee0b4891 Mon Sep 17 00:00:00 2001 From: Guillaume ETHEVE Date: Sat, 14 Nov 2026 20:55:08 +0100 Subject: [PATCH] Hide phone UI action in EvenAnchor menu --- app/apps/evenhub/evenhub-window.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/apps/evenhub/evenhub-window.ts b/app/apps/evenhub/evenhub-window.ts index 67c177ba..bd91bd0f 100644 --- a/app/apps/evenhub/evenhub-window.ts +++ b/app/apps/evenhub/evenhub-window.ts @@ -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,