show location icon on non images
This commit is contained in:
parent
38b7bcd15f
commit
6d12f3ddaa
1 changed files with 14 additions and 9 deletions
|
@ -124,15 +124,20 @@ class ThumbnailImage extends StatelessWidget {
|
|||
);
|
||||
}),
|
||||
),
|
||||
if (entry.isVideo)
|
||||
VideoIcon(
|
||||
entry: entry,
|
||||
iconSize: iconSize,
|
||||
)
|
||||
else if (entry.isGif)
|
||||
GifIcon(iconSize: iconSize)
|
||||
else if (entry.hasGps)
|
||||
GpsIcon(iconSize: iconSize)
|
||||
Column(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
if (entry.hasGps) GpsIcon(iconSize: iconSize),
|
||||
if (entry.isGif)
|
||||
GifIcon(iconSize: iconSize)
|
||||
else if (entry.isVideo)
|
||||
VideoIcon(
|
||||
entry: entry,
|
||||
iconSize: iconSize,
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue