Update theme settings in app_settings_provider.dart

This commit is contained in:
Dr-Blank 2024-08-20 11:39:26 -04:00
parent 8d71020436
commit 74e0d77cf9
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
10 changed files with 239 additions and 65 deletions

View file

@ -41,7 +41,7 @@ class LibraryItemPage extends HookConsumerWidget {
itemFromApi.valueOrNull?.media.metadata.asBookMetadataExpanded;
final useMaterialThemeOnItemPage =
ref.watch(appSettingsProvider).useMaterialThemeOnItemPage;
ref.watch(appSettingsProvider).themeSettings.useMaterialThemeOnItemPage;
AsyncValue<ColorScheme?> coverColorScheme = const AsyncValue.loading();
if (useMaterialThemeOnItemPage) {
coverColorScheme = ref.watch(