mirror of
https://github.com/yattee/yattee.git
synced 2025-11-21 01:12:19 +00:00
Wrap favoritesChanged.toggle() calls in MainActor.run blocks to ensure main actor-isolated state mutations happen on the correct actor context. This resolves Swift concurrency warnings when updating state from nonisolated async contexts.
9.0 KiB
9.0 KiB