Skip to content

Commit

Permalink
Notifications: Correct channel name for exercise/lecture notificati…
Browse files Browse the repository at this point in the history
…ons (#88)
  • Loading branch information
anian03 authored Oct 11, 2024
1 parent c5ad034 commit 91fc38d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/PushNotifications/Models/PushNotification.swift
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,11 @@ public enum PushNotificationType: String, Codable {
case .newExercisePost:
guard notificationPlaceholders.count > 4 else { return nil }
return R.string.localizable.artemisAppGroupNotificationTextNewExercisePost(notificationPlaceholders[1],
notificationPlaceholders[4])
notificationPlaceholders[3])
case .newLecturePost:
guard notificationPlaceholders.count > 4 else { return nil }
return R.string.localizable.artemisAppGroupNotificationTextNewLecturePost(notificationPlaceholders[1],
notificationPlaceholders[4])
notificationPlaceholders[3])
//
case .courseArchiveStarted:
guard notificationPlaceholders.count > 0 else { return nil }
Expand Down

0 comments on commit 91fc38d

Please sign in to comment.