We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4488a01 commit 2f3130eCopy full SHA for 2f3130e
UCLA Radio/UCLA Radio/NotificationManager.swift
@@ -246,8 +246,8 @@ class NotificationManager {
246
let token = id.components(separatedBy: "-")
247
if token.count == 2 {
248
if let showID = Int(token[0]),
249
- let notificationOffset = Int(token[1]) {
250
- return (showID, notificationOffset)
+ let absNotificationOffset = Int(token[1]) {
+ return (showID, -1 * absNotificationOffset)
251
}
252
253
return nil
0 commit comments