mirror of
				https://github.com/yattee/yattee.git
				synced 2025-11-04 14:42:05 +00:00 
			
		
		
		
	Fix optional use
This commit is contained in:
		@@ -356,7 +356,7 @@ final class MPVBackend: PlayerBackend {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private func updateControlsIsPlaying() {
 | 
			
		||||
        guard model.activeBackend == .mpv else { return }
 | 
			
		||||
        guard model?.activeBackend == .mpv else { return }
 | 
			
		||||
        DispatchQueue.main.async { [weak self] in
 | 
			
		||||
            self?.controls?.isPlaying = self?.isPlaying ?? false
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user