Skip to content
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

Use Stream to observe token changes in dev-app #73

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

dcaunt
Copy link
Contributor

@dcaunt dcaunt commented Mar 14, 2025

Update dev-app to observe the stream of token values, rather than updating state imperatively.

Fix ObservedObject usage in DeviceAuthorizationView which caused duplicate view models to be created. StateObject should be used as the owner of the value. This requires an iOS deployment target bump to 14.0.

@dcaunt dcaunt marked this pull request as ready for review March 14, 2025 15:23
@dcaunt dcaunt merged commit af64679 into main Mar 14, 2025
2 checks passed
@dcaunt dcaunt deleted the dsc-OPENPASS-0000-dev-app-observation branch March 14, 2025 15:39
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