diff --git a/src/components/Sidebar/Preferences/index.tsx b/src/components/Sidebar/Preferences/index.tsx index 8ee693e33..44ff93b48 100644 --- a/src/components/Sidebar/Preferences/index.tsx +++ b/src/components/Sidebar/Preferences/index.tsx @@ -3,6 +3,7 @@ import { Box, DialogProps, Stack } from '@mui/material'; import { EnteDrawer } from 'components/EnteDrawer'; import MenuSectionTitle from 'components/Menu/MenuSectionTitle'; import Titlebar from 'components/Titlebar'; +import isElectron from 'is-electron'; import { useState } from 'react'; import constants from 'utils/strings/constants'; import AdvancedSettings from '../AdvancedSettings'; @@ -48,13 +49,15 @@ export default function Preferences({ open, onClose, onRootClose }) { - }> - {constants.ADVANCED} - + {isElectron() && ( + }> + {constants.ADVANCED} + + )}