Skip to content

Commit

Permalink
Dismiss sheet in current NavManager
Browse files Browse the repository at this point in the history
  • Loading branch information
MalekKamel committed Nov 22, 2022
1 parent db3ee45 commit d9f932d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SwiftUINavigator/Sources/SwiftUINavigator/NavManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ extension NavManager {
extension NavManager {

func dismissSheet(type: DismissSheetType?) {
sheetManager.dismissSheet(type: type)
root?.sheetManager.dismissSheet(type: type)
}

Expand Down

0 comments on commit d9f932d

Please sign in to comment.