-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Refactor thumbnail handling in ResultGridCell
This commit simplifies and separates the concern of handling thumbnail images in ResultGridCell. Composable functions have been isolated: "LazilyFetchedThumbnail" for lazy fetching of the thumbnail, "IconFromResources" for handling failed image load or no image available scenarios, and "RealThumbnail" for handling successful thumbnail load. This refactor benefits better maintainability and readability of the code.
- Loading branch information
Showing
1 changed file
with
90 additions
and
58 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