← Back to all updates

Fix MacContentView Return and ChatViewModel Capture Issues

Commit: 466669c

Resolved return handling in MacContentView and improved ChatViewModel’s Swift 6 capture semantics.

Changes

  • Refactored return handling logic in MacContentView to ensure proper state management.
  • Updated ChatViewModel to utilize Swift 6 capture semantics for better memory management.
  • Implemented error handling in MacContentView to prevent crashes during return transitions.