add-to-playlist-check-duplicate #1

Merged
teier merged 4 commits from add-to-playlist-check-duplicate into main 2025-12-07 20:04:00 +00:00
Showing only changes of commit 92ebba1d44 - Show all commits

View File

@@ -101,7 +101,7 @@ public class PlaylistChooserDialog extends DialogFragment implements ClickCallba
Playlist playlist = bundle.getParcelable(Constants.PLAYLIST_OBJECT);
playlistChooserViewModel.isSongInPlaylist(Objects.requireNonNull(playlist).getId(), requireActivity()).observe(requireActivity(), songInPlaylist -> {
if (songInPlaylist) {
if (!songInPlaylist) {
playlistChooserViewModel.addSongToPlaylist(playlist.getId());
dismiss();
} else {