-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implemented "dislike" by long-tap & related fixes #5180
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # composeApp/src/androidMain/kotlin/it/fast4x/rimusic/ui/screens/player/components/controls/Essential.kt
- similar to `setLikeState`, but for disliking
- now uses `setDislikeState`, i.e. changes the value depending on the current value
I am working on toggling between disliked and "unliked". |
- removed `dislike` from database as not needed anymore - implemented toggling similar to like-toggle via `setDisLikeState`
# Conflicts: # composeApp/src/androidMain/kotlin/it/fast4x/rimusic/ui/screens/player/components/controls/Essential.kt
- did not work properly with disliked songs - was automatically unliking songs if they where not in the db (so it seemed not to do anything on the first tap) - added `getLikedAt` as was required (likedAt returns a flow)
- like a song if it was unliked/disliked - insert the song into the db if it was not there
- also added smart message feedback to `AlbumDetails`, `LocalPlayListSongsModern`
- directly via long-tap (skipping the step via single-tap cycling)
- also improved related code
- InfoAlbumAndArtistEssential/-Modern: single tap now is consistent with long tap (also does not dislike anymore) - ControlsEssential: additionally (to changes in previous item) implemented autodownload-on-like
- now does not consider disliked songs as liked
- now don't consider disliked songs as liked
This pull request also fixes autodownload, more toast message feedback, implements dislike in gridmenu where it was not previously existing. I guess there are still more places missing where dislike is missing/not consistent with this changes (maybe history, ...) |
# Conflicts: # composeApp/src/androidMain/kotlin/it/fast4x/rimusic/ui/components/themed/MediaItemGridMenu.kt # composeApp/src/androidMain/kotlin/it/fast4x/rimusic/ui/components/themed/MediaItemMenu.kt # composeApp/src/androidMain/kotlin/it/fast4x/rimusic/ui/screens/album/AlbumDetails.kt # composeApp/src/androidMain/kotlin/it/fast4x/rimusic/ui/screens/playlist/PlaylistSongList.kt
Another fix included is that disliked songs do not show as liked songs anymore. |
The idea is by @aneesh1122.