Skip to content

Theme change notification + observation #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 14, 2025
Merged

Conversation

mikhailChelbaev
Copy link
Collaborator

  • Added a Theme.didChangeThemeNotification to notify when the theme changes.
  • Added observeThemeChange(_:) for UIKit to update views when the theme changes.
  • Added ThemeChangeObserver for SwiftUI that refreshes wrapped view when the theme changes.
  • Updated README

@mikhailChelbaev mikhailChelbaev self-assigned this Mar 13, 2025
@mikhailChelbaev mikhailChelbaev merged commit 1810098 into dev Mar 14, 2025
1 check passed
@mikhailChelbaev mikhailChelbaev deleted the theme-observation branch March 14, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants