From 841fab77a805b033b3d0feb1845500283b3d244a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 1 Feb 2026 22:22:25 +0200 Subject: [PATCH] chore(client): address requested changes --- apps/client/src/services/experimental_features.ts | 2 +- apps/client/src/widgets/ribbon/NoteActions.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/services/experimental_features.ts b/apps/client/src/services/experimental_features.ts index b6211b4d10..8cfbe126e8 100644 --- a/apps/client/src/services/experimental_features.ts +++ b/apps/client/src/services/experimental_features.ts @@ -30,7 +30,7 @@ export function isExperimentalFeatureEnabled(featureId: ExperimentalFeatureId): export function getEnabledExperimentalFeatureIds() { const values = [ ...getEnabledFeatures().values() ]; - if (options.is("newLayout")) { + if (isMobile() || options.is("newLayout")) { values.push("new-layout"); } return values; diff --git a/apps/client/src/widgets/ribbon/NoteActions.tsx b/apps/client/src/widgets/ribbon/NoteActions.tsx index 39c3ebe354..51788085d2 100644 --- a/apps/client/src/widgets/ribbon/NoteActions.tsx +++ b/apps/client/src/widgets/ribbon/NoteActions.tsx @@ -14,7 +14,7 @@ import { t } from "../../services/i18n"; import protected_session from "../../services/protected_session"; import server from "../../services/server"; import toast from "../../services/toast"; -import { isElectron as getIsElectron, isMac as getIsMac, isMobile } from "../../services/utils"; +import { isElectron as getIsElectron, isMac as getIsMac } from "../../services/utils"; import ws from "../../services/ws"; import ClosePaneButton from "../buttons/close_pane_button"; import CreatePaneButton from "../buttons/create_pane_button";