Skip to content

Commit

Permalink
remove: 불필요 주석 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
devMinseok committed Aug 23, 2024
1 parent 2d98401 commit dcbc6a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
8 changes: 0 additions & 8 deletions Projects/Domain/PushService/Sources/PushService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@ import UserNotifications

import UserNotificationClientInterface

//public func getPushNotificationContent(from userInfo: [AnyHashable: Any]) -> PushNotiContent? {
// guard let data = try? JSONSerialization.data(withJSONObject: userInfo) else {
// return nil
// }
// let pushNotiContent = try? JSONDecoder().decode(PushNotificationContent.self, from: data)
// return pushNotiContent
//}

public func scheduleNotification(
userNotificationClient: UserNotificationClient,
contentType: LocalPushNotiContent,
Expand Down
15 changes: 0 additions & 15 deletions Projects/Feature/Feature/Sources/AppCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,6 @@ public struct AppCore {
state.splash = SplashCore.State()
return .none

case let .appDelegate(.userNotifications(.didReceiveResponse(response, completionHandler))):
// let userInfo = response.notification.request.content.userInfo
// guard let pushNotiContent = getPushNotificationContent(from: userInfo) else {
// completionHandler()
// return .none
// }
// return .run { _ in
// switch pushNotiContent {
// case .test:
// break
// }
// completionHandler()
// }
return .none

case .appDelegate:
return .none

Expand Down

0 comments on commit dcbc6a5

Please sign in to comment.