advanced section should only be shown for electron as it just has ML setting currently

This commit is contained in:
Abhinav 2023-02-09 22:09:01 +05:30
parent 66b37c57bf
commit 1e96d09b94

View file

@ -97,9 +97,11 @@ export default function UtilitySection({ closeSidebar }) {
<SidebarButton onClick={redirectToDeduplicatePage}> <SidebarButton onClick={redirectToDeduplicatePage}>
{constants.DEDUPLICATE_FILES} {constants.DEDUPLICATE_FILES}
</SidebarButton> </SidebarButton>
<SidebarButton onClick={openAdvancedSettings}> {isElectron() && (
{constants.ADVANCED} <SidebarButton onClick={openAdvancedSettings}>
</SidebarButton> {constants.ADVANCED}
</SidebarButton>
)}
<RecoveryKey <RecoveryKey
show={recoverModalView} show={recoverModalView}
onHide={closeRecoveryKeyModal} onHide={closeRecoveryKeyModal}