diff --git a/lib/screens/logbook_photo_edit/components/picker_list_tile/widget_list_tile_picker.dart b/lib/screens/logbook_photo_edit/components/picker_list_tile/widget_list_tile_picker.dart index aa7b9a6..e184b8d 100644 --- a/lib/screens/logbook_photo_edit/components/picker_list_tile/widget_list_tile_picker.dart +++ b/lib/screens/logbook_photo_edit/components/picker_list_tile/widget_list_tile_picker.dart @@ -35,7 +35,9 @@ class PickerListTile extends StatelessWidget { title: title, selectedValue: Optional(selectedValue), values: [ - const Optional(null), + /// `const Optional(null)` for some reason is not equal to a non-const `Optional(null)` + // ignore: prefer_const_constructors + Optional(null), ...values.toSet().map((e) => Optional(e)), ], titleAdapter: (context, value) => _titleAdapter(context, value.value),