Hide phone UI action in EvenAnchor menu
This commit is contained in:
1 file changed
+2
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user