From 4d5349846ee513bd6b6f62723f0c5485efa0e4cd Mon Sep 17 00:00:00 2001 From: JF-Cozy Date: Mon, 23 Sep 2024 10:51:11 +0200 Subject: [PATCH] feat: Remove `ui.darkmode.enabled` flag condition --- src/components/Settings/actions/appearance.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/Settings/actions/appearance.js b/src/components/Settings/actions/appearance.js index 01bdcdd9..0b417ba3 100644 --- a/src/components/Settings/actions/appearance.js +++ b/src/components/Settings/actions/appearance.js @@ -1,6 +1,5 @@ import React, { forwardRef } from 'react' -import flag from 'cozy-flags' import ActionsMenuItem from 'cozy-ui/transpiled/react/ActionsMenu/ActionsMenuItem' import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon' import ListItemText from 'cozy-ui/transpiled/react/ListItemText' @@ -30,7 +29,6 @@ export const appearance = ({ t }) => { name: 'appearance', icon, label, - displayCondition: () => flag('ui.darkmode.enabled'), action: (_, { client }) => { const link = getSettingsLink({ client, hash: 'appearance' }) window.open(link, '_self')