Fix inconsistent default EXIF setting

This commit is contained in:
Ming Ming 2021-10-02 22:11:10 +08:00
parent 04b546a85e
commit e699dafc14

View file

@ -530,7 +530,7 @@ class _HomePhotosState extends State<HomePhotos>
bool ignoreFired = false, bool ignoreFired = false,
}) { }) {
if (_bloc.state is ScanDirBlocSuccess && if (_bloc.state is ScanDirBlocSuccess &&
Pref.inst().isEnableExifOr(false) && Pref.inst().isEnableExifOr() &&
(!_hasFiredMetadataTask.value || ignoreFired)) { (!_hasFiredMetadataTask.value || ignoreFired)) {
MetadataTaskManager().addTask(MetadataTask(widget.account)); MetadataTaskManager().addTask(MetadataTask(widget.account));
_metadataTaskProcessTotalCount = _backingFiles _metadataTaskProcessTotalCount = _backingFiles