refactor(server): remove bootstrap admin path #34
@@ -95,7 +95,7 @@ class LikedTabViewModel @Inject constructor(
|
|||||||
*/
|
*/
|
||||||
fun unlikeTrack(trackId: String) {
|
fun unlikeTrack(trackId: String) {
|
||||||
viewModelScope.launch {
|
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