From d3b04fe807165cd5f0884190dee5661f02b523a4 Mon Sep 17 00:00:00 2001 From: Tushar Jain Date: Mon, 26 Feb 2024 00:34:39 +0530 Subject: [PATCH] fix(interactivecard): changed listerner from read to watch for showChampionSplashImage --- lib/widgets/interactive_card.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/interactive_card.dart b/lib/widgets/interactive_card.dart index 4a9c1a6..2fd641b 100644 --- a/lib/widgets/interactive_card.dart +++ b/lib/widgets/interactive_card.dart @@ -44,7 +44,7 @@ class InteractiveCard extends HookConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { // Providers - final showChampionSplashImage = ref.read( + final showChampionSplashImage = ref.watch( providers.appState.select((_) => _.settings.showChampionSplashImage), );