Skip to content

v1.0.1 - Fix Theme Switching Bug

Choose a tag to compare

@darkwebdev darkwebdev released this 15 Jan 23:31
· 5 commits to main since this release

Bug Fixes

  • Fixed settings window not updating colors when switching from Light/Dark to Auto mode
  • Worked around a known SwiftUI bug where .preferredColorScheme(nil) doesn't properly update sheet views

Technical Details

When switching from Light or Dark mode to Auto (system) mode, the settings window would retain the previous color scheme instead of adopting the system appearance. This has been fixed by using .preferredColorScheme(preferredColorScheme ?? systemColorScheme) instead of passing nil directly.

Both icons and background now update correctly when switching between all theme modes.