Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreae committed May 30, 2024
1 parent de5a2d2 commit e7639e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/app/lib/ui/screens/sighting.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-or-later

import 'package:app/router.dart';
import 'package:app/ui/widgets/delete_button.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:graphql_flutter/graphql_flutter.dart';
Expand All @@ -21,6 +19,7 @@ import 'package:app/ui/widgets/note_field.dart';
import 'package:app/ui/widgets/scaffold.dart';
import 'package:app/ui/widgets/species_field.dart';
import 'package:app/ui/widgets/used_for_field.dart';
import 'package:app/ui/widgets/delete_button.dart';

class SightingScreen extends StatefulWidget {
final String documentId;
Expand Down
2 changes: 1 addition & 1 deletion packages/app/lib/ui/widgets/delete_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class DeleteSightingButton extends StatelessWidget {

const DeleteSightingButton({super.key, required this.viewId});

_delete(BuildContext context) async {
void _delete(BuildContext context) async {
final messenger = ScaffoldMessenger.of(context);
final t = AppLocalizations.of(context)!;

Expand Down

0 comments on commit e7639e3

Please sign in to comment.