"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.
This commit is contained in:
MohammadTaha Basiri 2024-04-01 18:47:25 +03:30
parent 8c4d2bdaee
commit 574151f0d8
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class InfographyScreenState extends CoreProvier {
selectedCats.length == 1 && selectedTags.length == 1 && !filtering;
Future<void> changeMark(int id, bool value) async {
UserProvider.changeStatisticMark(id, value);
UserProvider.changeItemMark('infography', id, value);
}
Future<void> getInfographyContent({required int page}) async {