better visual coherence
This commit is contained in:
@@ -42,7 +42,7 @@ class _NewTripLocationSearchState extends State<NewTripLocationSearch> {
|
||||
uuid: 'pending',
|
||||
name: query,
|
||||
location: [location.latitude, location.longitude],
|
||||
type: start
|
||||
type: typeStart
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -65,9 +65,8 @@ class _NewTripLocationSearchState extends State<NewTripLocationSearch> {
|
||||
|
||||
|
||||
late Widget useCurrentLocationButton = ElevatedButton(
|
||||
onPressed: () {
|
||||
// setTripLocation(location);
|
||||
// TODO: get current location
|
||||
onPressed: () async {
|
||||
|
||||
},
|
||||
child: Text('Use current location'),
|
||||
);
|
||||
|
Reference in New Issue
Block a user