From 4144a296080fcd1e368dd897631eb70a1aa6c9af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20F=C3=B6rster?= Date: Fri, 26 Apr 2024 18:33:12 +0200 Subject: [PATCH] only bind Player if the active backend is AVPlayer --- Model/Player/PlayerModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Model/Player/PlayerModel.swift b/Model/Player/PlayerModel.swift index b189d278..8e5c0053 100644 --- a/Model/Player/PlayerModel.swift +++ b/Model/Player/PlayerModel.swift @@ -936,7 +936,7 @@ final class PlayerModel: ObservableObject { func handleEnterForeground() { setNeedsDrawing(presentingPlayer) - if !musicMode { + if !musicMode, activeBackend == .appleAVPlayer { avPlayerBackend.bindPlayerToLayer() }