Fixed tree-based navigation: dismiss action is not sent when navigating back (#2210)

* fixed dismiss action sending when navigating back

* Revert "fixed dismiss action sending when navigating back"

This reverts commit 52f7340406.

* added integration ui test

* fixed id for presentation with `isPresented` parameter

* fixed integration tests
This commit is contained in:
Timur Guliamov
2023-07-18 00:36:13 +03:00
committed by GitHub
parent b6d22ef222
commit 945ab055a8
3 changed files with 25 additions and 9 deletions

View File

@@ -85,8 +85,9 @@ extension View {
)
}
@_spi(Presentation)
@ViewBuilder
private func presentation<
public func presentation<
State,
Action,
DestinationState,