Skip to content

Commit 8803443

Browse files
author
just-software-dev
committed
Sounds fix
1 parent 37212ee commit 8803443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adamant/Services/AdamantNotificationService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ private extension AdamantNotificationsService {
401401
return
402402
}
403403

404-
try? AVAudioSession.sharedInstance().setCategory(.playback)
404+
try? AVAudioSession.sharedInstance().setCategory(.soloAmbient)
405405
try? AVAudioSession.sharedInstance().setActive(true)
406406
audioPlayer = try? AVAudioPlayer(contentsOf: url, fileTypeHint: AVFileType.mp3.rawValue)
407407
audioPlayer?.volume = 1.0

0 commit comments

Comments
 (0)