mirror of
https://github.com/yattee/yattee.git
synced 2025-11-22 14:41:19 +00:00
Fix SwiftFormat and SwiftLint issues
- Fix indentation in AppSidebarNavigation, VideoCell - Replace && with comma in PlayerModel condition - Add SwiftLint suppression for necessary tvOS 17.0 availability check - Update SwiftLint config to use renamed rules and disable false positives
This commit is contained in:
@@ -650,7 +650,7 @@ final class PlayerModel: ObservableObject {
|
||||
|
||||
// When switching away from AVPlayer, clear its current item to release Now Playing control
|
||||
#if !os(macOS)
|
||||
if from == .appleAVPlayer && to == .mpv {
|
||||
if from == .appleAVPlayer, to == .mpv {
|
||||
avPlayerBackend.avPlayer.replaceCurrentItem(with: nil)
|
||||
|
||||
// Clear Now Playing info entirely before MPV takes over
|
||||
|
||||
Reference in New Issue
Block a user