feat: enhance theme management by integrating high contrast support in various components

This commit is contained in:
Dr-Blank 2024-10-05 07:22:00 -04:00
parent 9441a2cdd3
commit 07780ada4e
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
5 changed files with 66 additions and 12 deletions

View file

@ -65,6 +65,8 @@ class AudiobookPlayer extends HookConsumerWidget {
themeOfLibraryItemProvider(
itemBeingPlayed.valueOrNull?.id,
brightness: Theme.of(context).brightness,
highContrast: MediaQuery.of(context).highContrast ||
appSettings.themeSettings.highContrast,
),
);