Skip to content

Commit

Permalink
Sounds fix
Browse files Browse the repository at this point in the history
  • Loading branch information
just-software-dev committed Sep 26, 2024
1 parent 37212ee commit 8803443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adamant/Services/AdamantNotificationService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ private extension AdamantNotificationsService {
return
}

try? AVAudioSession.sharedInstance().setCategory(.playback)
try? AVAudioSession.sharedInstance().setCategory(.soloAmbient)
try? AVAudioSession.sharedInstance().setActive(true)
audioPlayer = try? AVAudioPlayer(contentsOf: url, fileTypeHint: AVFileType.mp3.rawValue)
audioPlayer?.volume = 1.0
Expand Down

0 comments on commit 8803443

Please sign in to comment.