-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor: Update details screen and add FAB menu
This commit refactors the details screen to improve the user experience and adds a floating action button (FAB) menu. - Added a FAB menu to the details screen that expands when clicked. - Added options to the FAB menu to save, remove, and search. - Added the ability to blur the FAB menu when it is expanded. - Updated `DetailFloatingActionButtonMenu` to use `fabMenuExpanded` for the expanded state. - Updated `DetailsView` to use `fabMenuExpanded` for controlling the FAB menu and collapsing behavior. - Added a `fabBlur` modifier to blur the background when the FAB menu is expanded. - Added a check for `!fabMenuExpanded` to determine if the user can scroll in `CollapsableColumn`. - Updated `DetailsHeader` to show if the item is a favorite and to add/remove it from the favorite list. - Updated `DetailsViewModel` to update blur hash on changes and adding/removing favorites. - Removed old code to add blur hash on item add to favorites, now it is checked on `infoAndFavoriteFlow`. - Updated dependencies.
- Loading branch information
jacobrein
committed
Jan 31, 2025
1 parent
95069c0
commit 8641a59
Showing
4 changed files
with
59 additions
and
53 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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