From 574151f0d8d0d650c2385bf75be063eb1cff6505 Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Mon, 1 Apr 2024 18:47:25 +0330 Subject: [PATCH] "Change method for marking infographies in UserProvider from changeStatisticMark to changeItemMark" This commit updates the method used in UserProvider for marking infographies from changeStatisticMark to changeItemMark. --- lib/views/home/infography/infography_screen_state.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/views/home/infography/infography_screen_state.dart b/lib/views/home/infography/infography_screen_state.dart index 2d8687d..ee3e9b3 100644 --- a/lib/views/home/infography/infography_screen_state.dart +++ b/lib/views/home/infography/infography_screen_state.dart @@ -39,7 +39,7 @@ class InfographyScreenState extends CoreProvier { selectedCats.length == 1 && selectedTags.length == 1 && !filtering; Future changeMark(int id, bool value) async { - UserProvider.changeStatisticMark(id, value); + UserProvider.changeItemMark('infography', id, value); } Future getInfographyContent({required int page}) async {