Show icon for motion photo
This commit is contained in:
parent
7a19ce9c1b
commit
1af15c6ff1
1 changed files with 3 additions and 2 deletions
|
@ -111,8 +111,9 @@ class _ThumbnailWidgetState extends State<ThumbnailWidget> {
|
|||
}
|
||||
if (widget.file!.fileType == FileType.video) {
|
||||
contentChildren.add(const VideoOverlayIcon());
|
||||
} else if (widget.file!.fileType == FileType.livePhoto &&
|
||||
widget.shouldShowLivePhotoOverlay) {
|
||||
} else if (widget.shouldShowLivePhotoOverlay &&
|
||||
(widget.file!.fileType == FileType.livePhoto ||
|
||||
((widget.file!.pubMagicMetadata?.mvi ?? 0) > 0))) {
|
||||
contentChildren.add(const LivePhotoOverlayIcon());
|
||||
}
|
||||
if (widget.shouldShowOwnerAvatar) {
|
||||
|
|
Loading…
Add table
Reference in a new issue