mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Fix metadata task progress not shown correctly on web
This commit is contained in:
parent
7497e15267
commit
fe99b6b1f0
2 changed files with 7 additions and 1 deletions
|
@ -81,6 +81,9 @@ class UpdateMissingMetadata {
|
|||
metadataUpdate = OrNull(metadata);
|
||||
} else {
|
||||
_log.finer("[call] Skip updating metadata for ${file.path}");
|
||||
KiwiContainer().resolve<EventBus>().fire(
|
||||
const MetadataTaskStateChangedEvent(
|
||||
MetadataTaskState.prcoessing));
|
||||
}
|
||||
|
||||
final lat =
|
||||
|
|
|
@ -849,7 +849,10 @@ class _Web {
|
|||
}
|
||||
|
||||
void _onFilePropertyUpdated(FilePropertyUpdatedEvent ev) {
|
||||
if (!ev.hasAnyProperties([FilePropertyUpdatedEvent.propMetadata])) {
|
||||
if (!ev.hasAnyProperties([
|
||||
FilePropertyUpdatedEvent.propMetadata,
|
||||
FilePropertyUpdatedEvent.propImageLocation,
|
||||
])) {
|
||||
return;
|
||||
}
|
||||
// ignore: invalid_use_of_protected_member
|
||||
|
|
Loading…
Reference in a new issue