Skip to content

Commit

Permalink
Change dismissalDate to use new type (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebrowning authored Jan 11, 2023
1 parent 063c16e commit dfcf862
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ public struct APNSLiveActivityNotification<ContentState: Encodable>: Encodable {
}
}

public var dismissalDate: Int? {
public var dismissalDate: APNSLiveActivityDismissalDate? {
get {
return self.aps.dismissalDate
return .init(dismissal: self.aps.dismissalDate)
}
set {
self.aps.dismissalDate = newValue
self.aps.dismissalDate = newValue?.dismissal
}
}

Expand Down

0 comments on commit dfcf862

Please sign in to comment.