FileInfo: Treat livePhoto as image and show exif

This commit is contained in:
Neeraj Gupta 2021-08-03 19:33:29 +05:30
parent 771ceda332
commit 3530c36d50

View file

@ -27,7 +27,7 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
@override
void initState() {
_isImage = widget.file.fileType == FileType.image;
_isImage = widget.file.fileType == FileType.image || widget.file.fileType == FileType.livePhoto ;
if (_isImage) {
_getExif().then((exif) {
setState(() {