[mob]Fix refresh bug in all sections for people
This commit is contained in:
parent
ca3172c33e
commit
9ecd406e56
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,7 @@ import "package:photos/core/event_bus.dart";
|
|||
import "package:photos/events/collection_updated_event.dart";
|
||||
import "package:photos/events/event.dart";
|
||||
import "package:photos/events/location_tag_updated_event.dart";
|
||||
import "package:photos/events/people_changed_event.dart";
|
||||
import "package:photos/generated/l10n.dart";
|
||||
import "package:photos/models/collection/collection.dart";
|
||||
import "package:photos/models/collection/collection_items.dart";
|
||||
|
@ -279,6 +280,8 @@ extension SectionTypeExtensions on SectionType {
|
|||
return [Bus.instance.on<LocationTagUpdatedEvent>()];
|
||||
case SectionType.album:
|
||||
return [Bus.instance.on<CollectionUpdatedEvent>()];
|
||||
case SectionType.face:
|
||||
return [Bus.instance.on<PeopleChangedEvent>()];
|
||||
default:
|
||||
return [];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue