Revamped Settings interface with a design closer to the actual settings layout.
Introduced a new color theme.
AMOLED Dark Mode as an additional option, which becomes available when Dark Mode is enabled.
Fixed
Resolved an issue where the Switch exhibited unusual behavior in the "true" state.
Series Tab now is hidden when viewing a Podcast library type.
Slider now updates settings only on the final adjustment, preventing unnecessary re-renders.
Copilot summary:
This pull request includes several changes across multiple files to improve theme handling, enhance the user interface, and replace the shimmer package with a custom ShimmerPlaceholder widget.
Theme Handling Improvements:
lib/app.dart: Added support for AMOLED mode and refactored theme handling to use predefined themes (lightModeTheme, darkModeTheme, amoledTheme). [1][2]
User Interface Enhancements:
lib/features/home/home.dart: Updated the Home widget to handle the current library's media type and adjust the tab index accordingly. Also, added color customization for BottomNavigationBarItem icons and background. [1][2]
closes #42
Added
Fixed
Copilot summary:
This pull request includes several changes across multiple files to improve theme handling, enhance the user interface, and replace the
shimmer
package with a customShimmerPlaceholder
widget.Theme Handling Improvements:
lib/app.dart
: Added support for AMOLED mode and refactored theme handling to use predefined themes (lightModeTheme
,darkModeTheme
,amoledTheme
). [1] [2]User Interface Enhancements:
lib/features/home/home.dart
: Updated theHome
widget to handle the current library's media type and adjust the tab index accordingly. Also, added color customization forBottomNavigationBarItem
icons and background. [1] [2]lib/features/player/player_minified.dart
: Added a divider to thePlayerMinified
widget and improved text styling and layout. [1] [2] [3] [4]Shimmer Placeholder Replacement:
lib/features/home/components/library_chip.dart
: Replacedshimmer
package usage withShimmerPlaceholder
in theLibraryChip
widget. [1] [2]lib/features/library/item/podcast/shimmer_loading.dart
: Replacedshimmer
package usage withShimmerPlaceholder
in theShimmerLoading
widget. [1] [2] [3]lib/features/library/item_components/library_item_widget.dart
: Replacedshimmer
package usage withShimmerPlaceholder
in theLibraryItemWidget
widget. [1] [2]lib/features/library/shelf_items.dart
: Replacedshimmer
package usage withShimmerPlaceholder
in theShelfItems
widget. [1] [2] [3] [4]Minor Updates:
README.md
: Removed an outdated note about image caching.lib/app.dart
: Added import fortheme.dart
.lib/features/home/home.dart
: Added import forlibrary_provider.dart
.lib/features/library/shelf_items.dart
: Added import forshimmer_placeholder.dart
.These changes collectively enhance the application's appearance and functionality while ensuring a consistent and customizable user experience.