mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
Code cleanup
This commit is contained in:
@@ -177,7 +177,7 @@ class PlayerManager @Inject constructor(
|
||||
}
|
||||
|
||||
private suspend fun playNewMedia(mediaId: UUID) {
|
||||
var playableMedia = playableMediaRepository.getPlayableMedia(mediaId)
|
||||
val playableMedia = playableMediaRepository.getPlayableMedia(mediaId)
|
||||
if (playableMedia == null) {
|
||||
_playbackState.update { it.copy(error = "Media not found") }
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user