fix crashes on 9.0.70

This commit is contained in:
eevee
2025-08-13 19:25:54 +03:00
parent fa775e8fe9
commit bc731088f0

View File

@@ -49,7 +49,10 @@ extension NowPlayingScrollViewController {
var backgroundViewModel: SPTNowPlayingBackgroundViewModel {
get {
Ivars<SPTNowPlayingBackgroundViewModel>(self.backgroundViewController).viewModel
let ivars = Ivars<SPTNowPlayingBackgroundViewModel>(self.backgroundViewController)
return EeveeSpotify.hookTarget == .latest
? ivars.artworkColorObservable
: ivars.viewModel
}
}
}