Skip to content

Commit

Permalink
chore #89: 코드린트
Browse files Browse the repository at this point in the history
  • Loading branch information
enebin committed Sep 6, 2023
1 parent ae04e23 commit f750031
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public struct OnboardingFeature: Reducer {

case .startButtonDidTap:
let url = "https://keyme-frontend.vercel.app/test/\(state.testId)"
state.keymeTestsState = KeymeTestsFeature.State(url: url, authorizationToken: state.authorizationToken) // TODO: FIx
state.keymeTestsState = KeymeTestsFeature.State(url: url, authorizationToken: state.authorizationToken)

case .keymeTests(.presented(.view(.showResult(let data)))):
return .send(.showResult(data: data))
Expand Down
1 change: 0 additions & 1 deletion Projects/Features/Sources/Root/RootFeature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public struct RootFeature: Reducer {
return token
}


public init() {}

public enum State: Equatable {
Expand Down
5 changes: 2 additions & 3 deletions Projects/Features/Sources/ShareSheet/ShareSheetView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ struct ActivityViewController: UIViewControllerRepresentable {
@Binding var isPresented: Bool
var activityItems: [Any]

var applicationActivities: [UIActivity]? = nil
var applicationActivities: [UIActivity]?

func makeUIViewController(context: UIViewControllerRepresentableContext<ActivityViewController>) -> UIActivityViewController {
let controller = UIActivityViewController(activityItems: activityItems, applicationActivities: applicationActivities)

// Set the completion handler
controller.completionWithItemsHandler = { (activityType, completed, returnedItems, error) in
controller.completionWithItemsHandler = { (_, _, _, _) in
// Dismiss the share sheet when the share action completes (whether successful or not)
self.isPresented = false
}
Expand All @@ -34,7 +34,6 @@ struct ActivityViewController: UIViewControllerRepresentable {
}
}


extension ActivityViewController {
struct SharedURL: Identifiable {
let id = UUID()
Expand Down
1 change: 0 additions & 1 deletion Projects/Network/Sources/DTO/AuthDTO.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ public struct UserData: Decodable {
public struct Token: Decodable {
public let accessToken: String
}

0 comments on commit f750031

Please sign in to comment.