Skip to content

Commit 026534d

Browse files
committed
Fixes deprecation warning in example app
1 parent 6b34beb commit 026534d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

geolocator_android/example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class _GeolocatorWidgetState extends State<GeolocatorWidget> {
117117
ExamplePage(
118118
Icons.location_on,
119119
(context) => Scaffold(
120-
backgroundColor: Theme.of(context).colorScheme.background,
120+
backgroundColor: Theme.of(context).colorScheme.surface,
121121
body: ListView.builder(
122122
itemCount: _positionItems.length,
123123
itemBuilder: (context, index) {

0 commit comments

Comments
 (0)