Skip to content

Commit

Permalink
fix: 간격 재수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Seokki-Kwon committed Nov 14, 2024
1 parent 7700c62 commit 10ca5f5
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ final class AuthRepositoryImpl: AuthRepository {
Task {
do {
let response: BaseResponse<SignUpResponseDTO> = try await NetworkService.shared.request(endpoint: UserEndpoint.signUp(signUpReqDto: signUpReqDto))
promise(.success(response.data))
} catch let error as NetworkError {
promise(.success(response.data))
} catch let error as NetworkError {
promise(.failure(error))
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class SocialLoginRepositoryImpl: SocialLoginRepository {
let _ = try await NetworkService.shared.plainRequest(endpoint: ASAuthEndpoint.requestRevoke(asRevokeTokenRequestDto))
promise(.success(()))
}
catch let error as NetworkError {
catch let error as NetworkError {
promise(.failure(error))
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ final class UserDataMigrationInteractor: UserDataInteractor {
/// - Parameter authorization: ASAuthorization
func requestAppleLogin(_ authorization: ASAuthorization) {
guard let appleIDCredential = appleLoginService.requestAppleLogin(authorization),
let idTokenData = appleIDCredential.identityToken,
let idTokenData = appleIDCredential.identityToken,
let idToken = String(data: idTokenData, encoding: .utf8) else {
return
}
Expand Down Expand Up @@ -167,6 +167,7 @@ final class UserDataMigrationInteractor: UserDataInteractor {
}
}, receiveValue: { [weak self] tokenValidRes in
guard let self = self else { return }

if tokenValidRes.role == "USER" {
appState[\.userSession] = .authenticated
} else {
Expand Down
2 changes: 1 addition & 1 deletion HongikYeolgong2/Presentation/Root/InitialView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct InitialView: View {
}
}
}
.onAppear {
.onAppear {
resolveUserPermissions()
}
.onReceive(canRequestFirstPushPermissions) { _ in
Expand Down
5 changes: 2 additions & 3 deletions HongikYeolgong2/Presentation/Setting/SettingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ struct SettingView: View {
.onReceive(isOnAlarmUpdated) {
isOnAlarm = $0
}
.onReceive(isSceneActive) {
.onReceive(isSceneActive) {
userPermissionsInteractor.resolveStatus(for: .localNotifications)
}
.onReceive(userProfileUpdated) {
Expand Down Expand Up @@ -155,8 +155,7 @@ struct ProfileText: View {
var body: some View {
Text(text)
.font(.pretendard(size: 16, weight: .regular), lineHeight: 26.adjustToScreenHeight)
.foregroundStyle(textColor)
.padding(.trailing, 8)
.foregroundStyle(textColor)
}
}

Expand Down
2 changes: 1 addition & 1 deletion HongikYeolgong2/Util/Services/AppleLoginManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ final class AppleLoginManager: NSObject, AppleLoginService, ASAuthorizationContr
guard let appleIDCredential = authorization.credential as? ASAuthorizationAppleIDCredential else {
return nil
}

return appleIDCredential
}

Expand Down

0 comments on commit 10ca5f5

Please sign in to comment.