1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 22:00:31 +05:30

Fix build issue

This commit is contained in:
Arkadiusz Fal 2024-09-04 09:37:38 +02:00
parent 36f680be62
commit 34a805b986

View File

@ -228,9 +228,11 @@ final class PlayerModel: ObservableObject {
currentRate = playerRate
}
#if !os(macOS)
deinit {
NotificationCenter.default.removeObserver(self, name: AVAudioSession.interruptionNotification, object: nil)
}
#endif
func show() {
#if os(macOS)