-
-
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.
- Update: Improve Otaku List Screen and Recent Fragment
This commit introduces several improvements to the Otaku List Screen and Recent Fragment: - **Otaku List Screen:** - Updates animations for the details pane to use `EnterTransition.None` and `ExitTransition.None` when transitioning between items, providing a smoother experience. - Changes the `AnimatedPanes` function to be a part of `ThreePaneScaffoldPaneScope`, aligning with the updated API. - Introduces a new state variable `viewingItem` in `OtakuListViewModel` to track the currently viewed item, which is used for animations and data updates. - Updates the list and search views to use `viewingItem` for displaying data, ensuring consistency. - Modifies the saving logic to use `viewingItem` for writing data to the file. - **Recent Fragment:** - Improves the layout for offline states in the Recent Fragment, placing the cloud off icon and offline text in the center of the screen. - Adds padding to the shimmer item when the filtered source list is empty, enhancing visual consistency. - Encloses the offline state and online content in separate blocks, improving code structure. - **Dependency Updates:** - Updates the Kotlin Symbol Processing (KSP) version to 2.0.21-1.0.28. - Updates the Haze library to version 1.0.2.
- Loading branch information
jacobrein
committed
Nov 19, 2024
1 parent
ab9d185
commit 87009dd
Showing
4 changed files
with
88 additions
and
62 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