Skip to content

Commit

Permalink
Fixes deprecation warning in example app
Browse files Browse the repository at this point in the history
  • Loading branch information
mvanbeusekom committed May 16, 2024
1 parent 6b34beb commit 026534d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geolocator_android/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class _GeolocatorWidgetState extends State<GeolocatorWidget> {
ExamplePage(
Icons.location_on,
(context) => Scaffold(
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.surface,
body: ListView.builder(
itemCount: _positionItems.length,
itemBuilder: (context, index) {
Expand Down

0 comments on commit 026534d

Please sign in to comment.