FileInfo: Treat livePhoto as image and show exif
This commit is contained in:
parent
771ceda332
commit
3530c36d50
|
@ -27,7 +27,7 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
_isImage = widget.file.fileType == FileType.image;
|
_isImage = widget.file.fileType == FileType.image || widget.file.fileType == FileType.livePhoto ;
|
||||||
if (_isImage) {
|
if (_isImage) {
|
||||||
_getExif().then((exif) {
|
_getExif().then((exif) {
|
||||||
setState(() {
|
setState(() {
|
||||||
|
|
Loading…
Reference in a new issue