File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,7 @@ class _MyAppState extends State<MyApp> {
8181 ),
8282 Center (
8383 child: Text (
84- 'Google Play Store status: ${_playStoreAvailability .toString ().split ('.' ).last }\n ' )
85- ),
84+ 'Google Play Store status: ${_playStoreAvailability .toString ().split ('.' ).last }\n ' )),
8685 MaterialButton (
8786 onPressed: () => makeGooglePlayServicesAvailable (),
8887 child: const Text ('Set Google Play Service to availabe' ),
Original file line number Diff line number Diff line change @@ -52,8 +52,8 @@ class GoogleApiAvailability {
5252 return false ;
5353 }
5454
55- final availability = await _methodChannel. invokeMethod (
56- 'makeGooglePlayServicesAvailable' );
55+ final availability =
56+ await _methodChannel. invokeMethod ( 'makeGooglePlayServicesAvailable' );
5757
5858 return availability;
5959 }
You can’t perform that action at this time.
0 commit comments