feat(subsonic): browse endpoints — getArtists/getAlbum/search3/… (#295) #8
@@ -95,7 +95,7 @@ class LikedTabViewModel @Inject constructor(
|
||||
*/
|
||||
fun unlikeTrack(trackId: String) {
|
||||
viewModelScope.launch {
|
||||
repository.toggleLike(LikesRepository.ENTITY_TRACK, trackId, liked = false)
|
||||
repository.toggleLike(LikesRepository.ENTITY_TRACK, trackId, desiredState = false)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user