Browse Source

fix(app): hide mobile titlebar setting in production (#33894)

Brendan Allan 2 months ago
parent
commit
5ea405bf81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/components/settings-v2/general.tsx

+ 1 - 1
packages/app/src/components/settings-v2/general.tsx

@@ -336,7 +336,7 @@ export const SettingsGeneralV2: Component = () => {
           </div>
         </SettingsRowV2>
 
-        <Show when={mobile()}>
+        <Show when={mobile() && import.meta.env.VITE_OPENCODE_CHANNEL !== "prod"}>
           <SettingsRowV2
             title={language.t("settings.general.row.mobileTitlebarBottom.title")}
             description={language.t("settings.general.row.mobileTitlebarBottom.description")}