Add show hidden files toggle to settings

This commit is contained in:
2024-11-12 20:27:56 +01:00
parent d11525732d
commit 1b58b693d0
2 changed files with 23 additions and 3 deletions

View File

@@ -67,6 +67,7 @@ const WorkspaceSettings = () => {
name: currentWorkspace.name,
theme: currentWorkspace.theme,
autoSave: currentWorkspace.autoSave,
showHiddenFiles: currentWorkspace.showHiddenFiles,
gitEnabled: currentWorkspace.gitEnabled,
gitUrl: currentWorkspace.gitUrl,
gitUser: currentWorkspace.gitUser,
@@ -185,6 +186,10 @@ const WorkspaceSettings = () => {
onAutoSaveChange={(value) =>
handleInputChange('autoSave', value)
}
showHiddenFiles={state.localSettings.showHiddenFiles}
onShowHiddenFilesChange={(value) =>
handleInputChange('showHiddenFiles', value)
}
/>
</Accordion.Panel>
</Accordion.Item>