diff --git a/app/src/main/java/dev/brahmkshatriya/echo/ui/editplaylist/EditPlaylistViewModel.kt b/app/src/main/java/dev/brahmkshatriya/echo/ui/editplaylist/EditPlaylistViewModel.kt index 596f065c..c7c9b3db 100644 --- a/app/src/main/java/dev/brahmkshatriya/echo/ui/editplaylist/EditPlaylistViewModel.kt +++ b/app/src/main/java/dev/brahmkshatriya/echo/ui/editplaylist/EditPlaylistViewModel.kt @@ -219,14 +219,11 @@ class EditPlaylistViewModel @Inject constructor( withContext(Dispatchers.IO) { playlists.forEach { playlist -> tryWith(extension.info) { - check(playlist.isEditable) val loaded = client.loadPlaylist(playlist) - println("loaded : $loaded") + check(loaded.isEditable) val tracks = client.loadTracks(loaded).loadAll() - println("tracks: ${tracks.size}") listener?.onEnterPlaylistEditor(loaded, tracks) client.addTracksToPlaylist(loaded, tracks, tracks.size, new) - println("added to ${loaded.title}") listener?.onExitPlaylistEditor(loaded, tracks) Unit } ?: return@withContext