pref: add const to tag list
This commit is contained in:
parent
048e42600a
commit
6fb3c070d6
|
|
@ -60,13 +60,12 @@ class _HashtagState extends State<Hashtag> {
|
|||
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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue