info: removed extra media image hints
This commit is contained in:
parent
9956d6521c
commit
bd8bc19fa1
1 changed files with 1 additions and 7 deletions
|
@ -61,13 +61,7 @@ class MetadataDirTile extends StatelessWidget {
|
|||
);
|
||||
if (tags['Has Video'] == 'yes') prefixChildren.add(builder(AIcons.video));
|
||||
if (tags['Has Audio'] == 'yes') prefixChildren.add(builder(AIcons.audio));
|
||||
if (tags['Has Image'] == 'yes') {
|
||||
int count;
|
||||
if (tags.containsKey('Image Count')) {
|
||||
count = int.tryParse(tags['Image Count']);
|
||||
}
|
||||
prefixChildren.addAll(List.generate(count ?? 1, (i) => builder(AIcons.image)));
|
||||
}
|
||||
if (tags['Has Image'] == 'yes') prefixChildren.add(builder(AIcons.image));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue