bare implementation of comuncation with the api
This commit is contained in:
		| @@ -63,9 +63,8 @@ class _NewTripPageState extends State<NewTripPage> { | ||||
|                         double.parse(latController.text), | ||||
|                         double.parse(lonController.text) | ||||
|                       ]; | ||||
|                       UserPreferences preferences = UserPreferences(); | ||||
|                       preferences.load(); | ||||
|                       Future<Trip> trip = fetchTrip(startPoint, preferences); | ||||
|                       Future<UserPreferences> preferences = loadUserPreferences(); | ||||
|                       Future<Trip>? trip = fetchTrip(startPoint, preferences); | ||||
|                         Navigator.of(context).push( | ||||
|                           MaterialPageRoute( | ||||
|                             builder: (context) => BasePage(mainScreen: "map", trip: trip) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user