Improved editor layout stability and resolved thread safety issues in VaultViewModel.
Changes
- Changed editor layout from HStack to ZStack with padding to maintain center alignment when sidebars toggle.
- Resolved EXC_BAD_ACCESS crash in VaultViewModel by adding @MainActor to cache access methods for thread safety.
- Wrapped async cache access in MainActor.run blocks to prevent concurrent dictionary access from multiple threads.
- Introduced LocalContentCache for efficient note retrieval and NoteBackupService for improved data management.
- Implemented various UI improvements and bug fixes for a better user experience.