fixed gallery update bug in files in location screen on delete
This commit is contained in:
parent
1efcd0fa27
commit
5bcf6c781a
|
@ -47,16 +47,6 @@ class FilesInLocationPage extends StatelessWidget {
|
|||
EventType.deletedFromRemote,
|
||||
EventType.deletedFromEverywhere,
|
||||
},
|
||||
forceReloadEvents: [
|
||||
Bus.instance.on<FilesUpdatedEvent>().where(
|
||||
(event) =>
|
||||
event.updatedFiles.firstWhere(
|
||||
(element) => element.uploadedFileID != null,
|
||||
orElse: () => null,
|
||||
) !=
|
||||
null,
|
||||
),
|
||||
],
|
||||
tagPrefix: tagPrefix,
|
||||
selectedFiles: _selectedFiles,
|
||||
initialFiles: [locationSearchResult.files[0]],
|
||||
|
|
Loading…
Reference in a new issue