Showing
3 changed files
with
2 additions
and
1 deletions
| ... | @@ -33,6 +33,7 @@ if (keystorePropertiesFile.exists()) { | ... | @@ -33,6 +33,7 @@ if (keystorePropertiesFile.exists()) { |
| 33 | 33 | ||
| 34 | android { | 34 | android { |
| 35 | compileSdkVersion 32 | 35 | compileSdkVersion 32 |
| 36 | + buildToolsVersion "32" | ||
| 36 | 37 | ||
| 37 | compileOptions { | 38 | compileOptions { |
| 38 | sourceCompatibility JavaVersion.VERSION_1_8 | 39 | sourceCompatibility JavaVersion.VERSION_1_8 | ... | ... |
| ... | @@ -39,7 +39,6 @@ class AddressSelectPageState extends State<AddressSelectPage> { | ... | @@ -39,7 +39,6 @@ class AddressSelectPageState extends State<AddressSelectPage> { |
| 39 | @override | 39 | @override |
| 40 | void initState() { | 40 | void initState() { |
| 41 | super.initState(); | 41 | super.initState(); |
| 42 | - _getCurrentLocation(); | ||
| 43 | } | 42 | } |
| 44 | 43 | ||
| 45 | Future<void> _getCurrentLocation() async { | 44 | Future<void> _getCurrentLocation() async { |
| ... | @@ -86,6 +85,7 @@ class AddressSelectPageState extends State<AddressSelectPage> { | ... | @@ -86,6 +85,7 @@ class AddressSelectPageState extends State<AddressSelectPage> { |
| 86 | 85 | ||
| 87 | void _onMapCreated(GoogleMapController controller) { | 86 | void _onMapCreated(GoogleMapController controller) { |
| 88 | mapController = controller; | 87 | mapController = controller; |
| 88 | + _getCurrentLocation(); | ||
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | @override | 91 | @override | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment