From fa663804dee7d691f50060879e061ff0984da129 Mon Sep 17 00:00:00 2001 From: James Babcock Date: Sun, 8 Nov 2026 01:00:51 -0800 Subject: [PATCH] Hide RayNeo iO from device selection screen (support is not ready to ship yet) --- app/phone-ui/onboarding-devices-view-model.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/phone-ui/onboarding-devices-view-model.ts b/app/phone-ui/onboarding-devices-view-model.ts index c85259ee..40c7c38e 100644 --- a/app/phone-ui/onboarding-devices-view-model.ts +++ b/app/phone-ui/onboarding-devices-view-model.ts @@ -13,6 +13,9 @@ const GLASSES_OPTIONS: { choice: GlassesChoice; label: string; description?: str { choice: "rayneo-io", label: "RayNeo iO" }, ]; +/** RayNeo iO support isn't ready to offer in a release yet; set this to show its row again. */ +const OFFER_RAYNEO_IO = false; + /** Why this choice can't be made on this phone, or "" when it can. */ function unavailableReason(choice: GlassesChoice): string { // FaceclawCommunicatorBridge refuses to start a session with one on iOS. @@ -48,7 +51,8 @@ export class OnboardingDevicesViewModel extends Observable { get glassesOptions(): GlassesOptionItem[] { const selected = this.selected; - return GLASSES_OPTIONS.map(({ choice, label, description }) => { + const options = OFFER_RAYNEO_IO ? GLASSES_OPTIONS : GLASSES_OPTIONS.filter(({ choice }) => choice !== "rayneo-io"); + return options.map(({ choice, label, description }) => { const reason = unavailableReason(choice); const note = reason || description || ""; const isSelected = choice === selected;