From d69fa7b174d0844300418e382a8ece44bc61b48a Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Tue, 16 Apr 2024 10:40:29 +0330 Subject: [PATCH] Change from watching NewStatisticState to reading NewStatisticState in _NewStatisticState --- lib/views/home/new_statistic/new_statistic.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/views/home/new_statistic/new_statistic.dart b/lib/views/home/new_statistic/new_statistic.dart index e9bb535..3098f31 100644 --- a/lib/views/home/new_statistic/new_statistic.dart +++ b/lib/views/home/new_statistic/new_statistic.dart @@ -70,7 +70,7 @@ class _NewStatisticState extends State { StateHandler( enableEmptyState: false, onRetry: context.read().init, - state: context.watch(), + state: context.read(), placeholder: Padding( padding: const EdgeInsets.only(top: 48.0), child: Column(