You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve SwiftUI view update crash in SettingsView Color Scheme picker
The crash was occurring because the `appearance.preference` @published property was being mutated directly by a Picker inside a ScrollView during SwiftUI's layout pass.
Fixes:
1. Extracted Color Scheme settings into a dedicated `Appearance` tab to isolate it from the Engine tab's layout cycle.
2. Implemented a custom Binding in the Picker that defers the @published write using `Task { @mainactor in }`. This explicitly breaks out of the current view update pass before mutating the AppearanceStore.
0 commit comments