refactor: adjust high contrast condition order in theme settings for consistency

This commit is contained in:
Dr-Blank 2024-10-05 09:03:13 -04:00
parent f96b954db3
commit 9a49dc5675
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
3 changed files with 5 additions and 5 deletions

View file

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