forked from Blendman974/faceclaw
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
|
// Glasses-first: the app runs without the phone showing it; this reveals
|
||||||
// its phone UI (config pages, etc.) over the dashboard on demand.
|
// 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,
|
actions: options.actions,
|
||||||
baseLayer: appLayer,
|
baseLayer: appLayer,
|
||||||
|
|||||||
Reference in new issue
Block a user