From 6fb3c070d6fb3da90c26bb1fe362b389465cf527 Mon Sep 17 00:00:00 2001 From: Amir Hossein Mousavi Date: Fri, 12 Apr 2024 17:41:34 +0330 Subject: [PATCH] pref: add const to tag list --- lib/views/hashtag/hashtag.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/views/hashtag/hashtag.dart b/lib/views/hashtag/hashtag.dart index 474c03c..050844a 100644 --- a/lib/views/hashtag/hashtag.dart +++ b/lib/views/hashtag/hashtag.dart @@ -60,13 +60,12 @@ class _HashtagState extends State { final item = state.items[index]; final type = item.type; switch (type) { - //TODO:Must add tags case 'infography': return InfographyItem( image: item.image, category: item.category!, title: item.title, - tag: [], + tag: const [], onMarkChanged: (_, value, __) => _changeMark(item.id, value, type), createdAt: item.createdAt,