Skip to content

Commit 89f80fe

Browse files
Bump swiftui-navigation (#2239)
* Bump swiftui-navigation * fix deprecation warning --------- Co-authored-by: Brandon Williams <[email protected]>
1 parent 93c8784 commit 89f80fe

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

ComposableArchitecture.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ let package = Package(
2525
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "0.10.3"),
2626
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "0.5.1"),
2727
.package(url: "https://github.com/pointfreeco/swift-identified-collections", from: "0.7.0"),
28-
.package(url: "https://github.com/pointfreeco/swiftui-navigation", from: "0.7.2"),
28+
.package(url: "https://github.com/pointfreeco/swiftui-navigation", from: "0.8.0"),
2929
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "0.8.4"),
3030
],
3131
targets: [
3232
.target(
3333
name: "ComposableArchitecture",
3434
dependencies: [
35-
.product(name: "_SwiftUINavigationState", package: "swiftui-navigation"),
3635
.product(name: "CasePaths", package: "swift-case-paths"),
3736
.product(name: "CombineSchedulers", package: "combine-schedulers"),
3837
.product(name: "CustomDump", package: "swift-custom-dump"),
3938
.product(name: "Dependencies", package: "swift-dependencies"),
4039
.product(name: "IdentifiedCollections", package: "swift-identified-collections"),
4140
.product(name: "OrderedCollections", package: "swift-collections"),
41+
.product(name: "SwiftUINavigationCore", package: "swiftui-navigation"),
4242
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
4343
]
4444
),

Sources/ComposableArchitecture/Internal/Exports.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
@_exported import CustomDump
55
@_exported import Dependencies
66
@_exported import IdentifiedCollections
7-
@_exported import _SwiftUINavigationState
7+
@_exported import SwiftUINavigationCore

Sources/ComposableArchitecture/SwiftUI/ConfirmationDialog.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ extension View {
4747
switch button.action.type {
4848
case let .send(action):
4949
if let action = action {
50-
_ = store.send(.presented(fromDestinationAction(action)))
50+
store.send(.presented(fromDestinationAction(action)))
5151
}
5252
case let .animatedSend(action, animation):
5353
if let action = action {
54-
_ = withAnimation(animation) {
54+
withAnimation(animation) {
5555
store.send(.presented(fromDestinationAction(action)))
5656
}
5757
}

0 commit comments

Comments
 (0)