Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/frontend' into frontend
Browse files Browse the repository at this point in the history
# Conflicts:
#	app/src/main/java/com/example/harmonyhub/ui/library/SplitMusicScreen.kt
  • Loading branch information
minhnhatdeii committed Dec 15, 2024
2 parents 8b12020 + 4e2b6e2 commit 9f45d56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ fun SplitMusicScreen(
exoPlayers.forEach { it.release() }
})
}
fun findSongByUrl(url: String): Song? {
return SongRepository.allSongs.find { it.url == url }
fun findSongByUrl(id: String): Song? {
return SongRepository.allSongs.find { it.id == id }
}


Expand Down

0 comments on commit 9f45d56

Please sign in to comment.