mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-08-04 20:26:42 +00:00
fixed logbook list updates
This commit is contained in:
parent
ca6b921b6b
commit
84c8973690
2 changed files with 2 additions and 2 deletions
|
@ -122,5 +122,5 @@ class LogbookPhotos extends InheritedWidget {
|
|||
}
|
||||
|
||||
@override
|
||||
bool updateShouldNotify(LogbookPhotos oldWidget) => const DeepCollectionEquality().equals(oldWidget.photos, photos);
|
||||
bool updateShouldNotify(LogbookPhotos oldWidget) => !const DeepCollectionEquality().equals(oldWidget.photos, photos);
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ class _LogbookScreenState extends State<LogbookScreen> with SingleTickerProvider
|
|||
title: Text(S.of(context).logbook),
|
||||
slivers: [
|
||||
_PicturesGridBuilder(
|
||||
values: LogbookPhotos.of(context),
|
||||
values: LogbookPhotos.of(context, listen: true),
|
||||
onEdit: _editProfile,
|
||||
),
|
||||
SliverToBoxAdapter(
|
||||
|
|
Loading…
Reference in a new issue