Skip to content

Commit

Permalink
feat: Remove ui.darkmode.enabled flag condition
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Sep 23, 2024
1 parent c47a0b3 commit 4d53498
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/Settings/actions/appearance.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 4d53498

Please sign in to comment.