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

[Feature]: Get rid of sheetDismisser and use environment #1055

Open
2 tasks done
tmolitor-stud-tu opened this issue May 2, 2024 · 1 comment
Open
2 tasks done

[Feature]: Get rid of sheetDismisser and use environment #1055

tmolitor-stud-tu opened this issue May 2, 2024 · 1 comment

Comments

@tmolitor-stud-tu
Copy link
Member

Precondition

  • I understood that this template is only for feature requests and not for bug reports

Cross-checked related issues?

Describe your feature

Don't use our own sheetDismisser but @Environment(\.presentationMode) var presentationMode and presentationMode.wrappedValue.dismiss() instead. Should even be valid on iOS 14.

@tmolitor-stud-tu
Copy link
Member Author

Only cases still present in code are dismisses without animation, there seems no appropriate replacement (yet) in swiftui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant