We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7402af0 commit 0d94049Copy full SHA for 0d94049
Core/Services/Notification/NotificationService.swift
@@ -42,7 +42,7 @@ final class NotificationService {
42
// MARK: - Observation
43
44
private func startObserving() {
45
- self.observationTask = Task { [weak self] in
+ self.observationTask = Task { @MainActor [weak self] in
46
guard let self else { return }
47
var previousTrack: Song?
48
0 commit comments