[Cleanup] Code Cleanup, Removed some unused methods
This commit is contained in:
parent
3df5a77ee8
commit
6ae4c3cae4
32 changed files with 122 additions and 301 deletions
|
@ -28,12 +28,6 @@ fun List<SongEntity>.toSongs(): List<Song> {
|
|||
}
|
||||
}
|
||||
|
||||
fun List<Song>.toSongs(playlistId: Long): List<SongEntity> {
|
||||
return map {
|
||||
it.toSongEntity(playlistId)
|
||||
}
|
||||
}
|
||||
|
||||
fun Song.toHistoryEntity(timePlayed: Long): HistoryEntity {
|
||||
return HistoryEntity(
|
||||
id = id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue