Feat/album collapsible header#67
Merged
Merged
Conversation
…ailScreen This commit refactors the AlbumDetailScreen to replace the existing parallax scroll effect with the more advanced collapsible top bar mechanism from the ArtistDetailScreen. Key changes: - Removed the old scroll logic based on `derivedStateOf` and `graphicsLayer`. - Implemented the `NestedScrollConnection` from `ArtistDetailScreen` to handle interactive scrolling and snapping behavior. - Created a new `CollapsingAlbumTopBar` composable that replicates the visual style of the original album header but incorporates the new collapse animations. - The album art, title, and FAB now animate smoothly as the user scrolls, providing a more polished and responsive user experience.
This commit replaces the 'play' button with a 'shuffle' button on the AlbumDetailScreen. - The FAB icon is now a 'shuffle' icon. - The `onPlayClick` action now selects a random song from the album's tracklist and starts playback, effectively shuffling the album.
This commit introduces the following changes: - `SongInfoBottomSheet.kt`: Removed `FontFamily.Monospace` from the song title text. - `AlbumDetailScreen.kt`: Increased bottom padding for the song list from `16.dp` to `28.dp`. - `LibraryScreen.kt`: Commented out the `Box` elements that created a vertical gradient at the top of the "Recently Added" and "Recently Played" lists.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.