Removes the rounding from the trip details #56
| @@ -19,7 +19,7 @@ class StepBetweenLandmarks extends StatefulWidget { | |||||||
| class _StepBetweenLandmarksState extends State<StepBetweenLandmarks> { | class _StepBetweenLandmarksState extends State<StepBetweenLandmarks> { | ||||||
|   @override |   @override | ||||||
|   Widget build(BuildContext context) { |   Widget build(BuildContext context) { | ||||||
|     int time = 5 * ((widget.current.tripTime?.inMinutes ?? 0) ~/ 5); |     int time = widget.current.tripTime?.inMinutes ?? 0; | ||||||
|     return Container( |     return Container( | ||||||
|       margin: EdgeInsets.all(10), |       margin: EdgeInsets.all(10), | ||||||
|       padding: EdgeInsets.all(10), |       padding: EdgeInsets.all(10), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user