Skip to content

Commit

Permalink
Remove unused navigatorObservers from the Google Maps example.
Browse files Browse the repository at this point in the history
This is no longer used since flutter#743, the empty list was just a
left over.
  • Loading branch information
amirh committed Sep 5, 2018
1 parent 4ef2f60 commit f0445e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/google_maps_flutter/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,5 @@ class MapsDemo extends StatelessWidget {
}

void main() {
final List<NavigatorObserver> observers = <NavigatorObserver>[];
runApp(MaterialApp(home: MapsDemo(), navigatorObservers: observers));
runApp(MaterialApp(home: MapsDemo()));
}

0 comments on commit f0445e7

Please sign in to comment.