Skip to content

Commit

Permalink
Fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreae committed May 6, 2024
1 parent f1d1a20 commit b9c8d48
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/app/lib/ui/screens/sighting.dart
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,17 @@ class _SightingProfileState extends State<SightingProfile> {
setState(() {});
}

void _updateComment(String? comment) async {
if (sighting.comment == comment) {
// Nothing has changed
return;
}

await sighting.update(comment: comment);

setState(() {});
}

Future<DocumentViewId?> _updateUsedFor(AutocompleteItem? item) async {
if (item == null) {
// Do nothing
Expand Down

0 comments on commit b9c8d48

Please sign in to comment.