瀏覽代碼

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

Brendan Allan 3 月之前
父節點
當前提交
5ea405bf81
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  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")}