Skip to content

Commit

Permalink
Refactor make it possible to pass in the uuid before the show so that…
Browse files Browse the repository at this point in the history
… it can turn itself off in view based on the uuid
  • Loading branch information
telami committed Mar 27, 2023
1 parent 0024d65 commit 8dd1843
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ extension ContainerManager: ContainerViewManagementForEnvironment {
using configuration: ContainerViewConfigurationProtocol,
animated: Bool = true
) -> UUID? where Content: View {
_show(view: view, in: container, using: configuration, isPresented: nil, animated: animated)
_show(view: view, with: ID, in: container, using: configuration, isPresented: nil, animated: animated)
}

/// Push ContainerView to specific overlay container
Expand All @@ -169,7 +169,7 @@ extension ContainerManager: ContainerViewManagementForEnvironment {
in container: String,
animated: Bool = true
) -> UUID? where Content: ContainerView {
_show(view: containerView, in: container, using: containerView, isPresented: nil, animated: animated)
_show(view: containerView, with: ID, in: container, using: containerView, isPresented: nil, animated: animated)
}

/// Dismiss a specific view in a specific container
Expand Down

0 comments on commit 8dd1843

Please sign in to comment.