diff --git a/lib/widget/home_photos.dart b/lib/widget/home_photos.dart index 860d974e..e46ae9bc 100644 --- a/lib/widget/home_photos.dart +++ b/lib/widget/home_photos.dart @@ -550,7 +550,8 @@ class _HomePhotosState extends State (!_hasFiredMetadataTask.value || ignoreFired)) { MetadataTaskManager().addTask(MetadataTask(widget.account)); _metadataTaskProcessTotalCount = _backingFiles - .where((f) => file_util.isSupportedFormat(f) && f.metadata == null) + .where( + (f) => file_util.isSupportedImageFormat(f) && f.metadata == null) .length; _hasFiredMetadataTask.value = true; }