Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(visionos): multi-scene improvements #10653

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 1 commit into from
Nov 19, 2024
Merged

Conversation

NathanWalker
Copy link
Contributor

@NathanWalker NathanWalker commented Nov 19, 2024

PR Checklist

What is the current behavior?

If defining @State at the root level or using @Environment injection on views derived from that state, the main window body can be reevaluated causing the runtime reinit or reboot in some cases.

What is the new behavior?

The main window when using a SwiftUI app lifecycle based NativeScript app will no longer reinit/reboot the runtime as it's not needed in these cases.

@NathanWalker NathanWalker merged commit d6922b9 into main Nov 19, 2024
0 of 3 checks passed
@NathanWalker NathanWalker deleted the fix/visionos-multi-scene branch November 19, 2024 03:42
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.

1 participant