File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Sources/NavigatorUI/NavigatorUI/Core Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11# Navigator Changelog
22
3+ ### 1.4.6
4+
5+ * Tweak changes presentedSheetOrCover to presentingSheetOrCover to better match Apple's existing semantics
6+
37### 1.4.5
48
59* Adds presentedSheetOrCover computed value to Navigator #89
Original file line number Diff line number Diff line change 66
77Advanced Navigation Support for SwiftUI.
88
9- ## Navigator 1.4.5
9+ ## Navigator 1.4.6
1010
1111Navigator provides SwiftUI with a simple yet powerful navigation layer based on NavigationStack.
1212
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ extension Navigator {
5656 state. isPresented
5757 }
5858
59- /// Returns NavigationDestination of currently presented sheet or cover, if any.
60- public nonisolated var presentedSheetOrCover : ( any NavigationDestination ) ? {
59+ /// Returns NavigationDestination of sheet or cover we're currently presenting , if any.
60+ public nonisolated var presentingSheetOrCover : ( any NavigationDestination ) ? {
6161 ( state. sheet ?? state. cover) ? . wrapped as? NavigationDestination
6262 }
6363}
You can’t perform that action at this time.
0 commit comments