Skip to content

Commit 77b59a5

Browse files
committed
fix(settings): add fault-tolerant default accessors for robust settings handling
- Added safeExplorerSettings(), safeFilesSettings(), safeThemeSettings() helper functions - These helpers provide fallback to DEFAULT_SETTINGS when settings are corrupted or undefined - Prevents 'Cannot read properties of undefined' errors in SettingsDialog - Imported DEFAULT_SETTINGS from SettingsContext for robust fallback defaults - Updated explorer sortOrder, files confirmDragAndDrop, and theme settings accessors - Ensures GUI remains functional even if config files are corrupted or missing AGENT5: Settings Components fault tolerance fix
1 parent a85d86f commit 77b59a5

File tree

1 file changed

+1690
-1658
lines changed

1 file changed

+1690
-1658
lines changed

0 commit comments

Comments
 (0)