File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/ComposableArchitecture/SwiftUI Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ public struct AlertState<Action> {
165165 }
166166
167167 public struct ButtonAction {
168- let type : ActionType
168+ public let type : ActionType
169169
170170 public static func send( _ action: Action ) -> Self {
171171 . init( type: . send( action) )
@@ -175,7 +175,7 @@ public struct AlertState<Action> {
175175 . init( type: . animatedSend( action, animation: animation) )
176176 }
177177
178- enum ActionType {
178+ public enum ActionType {
179179 case send( Action )
180180 case animatedSend( Action , animation: Animation ? )
181181 }
@@ -313,7 +313,7 @@ extension AlertState.Button: Equatable where Action: Equatable {}
313313
314314extension AlertState . ButtonAction : Hashable where Action: Hashable { }
315315extension AlertState . ButtonAction . ActionType : Hashable where Action: Hashable {
316- func hash( into hasher: inout Hasher ) {
316+ public func hash( into hasher: inout Hasher ) {
317317 switch self {
318318 case let . send( action) , let . animatedSend( action, animation: _) :
319319 hasher. combine ( action)
You can’t perform that action at this time.
0 commit comments