Fix type 'MappedListIterable<ThumbnailElement, Thumbnail>' is not a subtype of type 'List<Thumbnail>'.

This commit is contained in:
Mattia 2020-10-18 12:03:03 +02:00
parent 32c819f615
commit 3700403b3a
1 changed files with 2 additions and 1 deletions

View File

@ -238,7 +238,8 @@ class _InitialData {
?.nullIfWhitespace ??
'0'),
(renderer.thumbnail.thumbnails ?? <ThumbnailElement>[])
.map((e) => Thumbnail(Uri.parse(e.url), e.height, e.width)));
.map((e) => Thumbnail(Uri.parse(e.url), e.height, e.width))
.toList());
}
if (content.radioRenderer != null) {
var renderer = content.radioRenderer;