From 71132a1f0ea436f0954717d01c729db31f67e64a Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Sat, 6 Dec 2025 15:44:51 +0900 Subject: [PATCH] fix extra rebuild due to hierarchy change --- lib/app/ui/cover_art_theme.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/app/ui/cover_art_theme.dart b/lib/app/ui/cover_art_theme.dart index d833759..8fb58f8 100644 --- a/lib/app/ui/cover_art_theme.dart +++ b/lib/app/ui/cover_art_theme.dart @@ -46,11 +46,11 @@ class CoverArtTheme extends HookConsumerWidget { final colorScheme = useFuture(getColorScheme).data; - return colorScheme != null - ? Theme( - data: subtracksTheme(colorScheme), - child: child, - ) - : child; + return Theme( + data: colorScheme == null + ? Theme.of(context) + : subtracksTheme(colorScheme), + child: child, + ); } }