Skip to content

Commit

Permalink
docs(post-map): add documentation to the exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTexanCodeur committed May 27, 2024
1 parent b63181f commit 3d16434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/views/pages/home/content/map/components/post_map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ class PostMap extends ConsumerWidget {
error: (error, _) {
//Pop up an error dialog if an error occurs

// ignore:

//ignore the location service disabled exception
//because we are already handling it in the mapPinViewModel
if (error is! LocationServiceDisabledException) {
final dialog = ErrorAlert(error: error);
WidgetsBinding.instance.addPostFrameCallback((timestamp) {
Expand Down

0 comments on commit 3d16434

Please sign in to comment.