Skip to content

Commit

Permalink
Fix: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSmart00 committed Jun 18, 2024
1 parent 3db64ce commit 0b6ef8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app-ios/Sources/AboutFeature/AboutReducer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public struct AboutReducer {
@ObservableState
public struct State: Equatable {
var path = StackState<Path.State>()
@Presents var presentation: Presentation.State?
@Presents var presentation: Destination.State?

public init(path: StackState<Path.State> = .init()) {
self.path = path
Expand All @@ -17,7 +17,7 @@ public struct AboutReducer {
public enum Action: ViewAction {
case path(StackAction<Path.State, Path.Action>)
case view(View)
case presentation(PresentationAction<Presentation.Action>)
case presentation(PresentationAction<Destination.Action>)

@CasePathable
public enum View {
Expand All @@ -31,7 +31,7 @@ public struct AboutReducer {
}

@Reducer(state: .equatable)
public enum Presentation {
public enum Destination {
case codeOfConduct
case privacyPolicy
}
Expand Down

0 comments on commit 0b6ef8e

Please sign in to comment.