Skip to content

Commit

Permalink
Merge pull request #953 from 0x1-company/create-pull-request/patch-72…
Browse files Browse the repository at this point in the history
…d3fa7

Run swift-format
  • Loading branch information
github-actions[bot] authored Nov 12, 2023
2 parents 91db813 + 10ab5db commit 2e631b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,35 @@ public struct InviteFriendLogic: Reducer {
public let activityType: UIActivity.ActivityType?
public let result: Bool
}

public struct Destination: Reducer {
public struct Activity: Reducer {
public struct State: Equatable {
public init() {}
}

public enum Action: Equatable {}
public var body: some ReducerOf<Self> {
EmptyReducer()
}
}

public enum State: Equatable {
case activity(Activity.State = .init())
case alert(AlertState<Action.Alert>)
}

public enum Action: Equatable {
case activity(Activity.Action)
case alert(Alert)

public enum Alert: Equatable {
case confirmOkay
}
}

public func reduce(into state: inout State, action: Action) -> Effect<Action> {
return .none
.none
}
}

Expand Down Expand Up @@ -162,7 +166,7 @@ public struct InviteFriendView: View {

public init(store: StoreOf<InviteFriendLogic>) {
self.store = store
self._viewStore = StateObject(
_viewStore = StateObject(
wrappedValue: ViewStore(store, observe: { $0 })
)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import AnalyticsClient
import InviteFriendFeature
import ComposableArchitecture
import Contacts
import ContactsClient
import God
import GodClient
import InviteFriendFeature
import UIApplicationClient
import UserDefaultsClient
import UserNotificationClient
Expand Down

0 comments on commit 2e631b8

Please sign in to comment.