Removes the rounding from the trip details #56

Merged
kscheidecker merged 3 commits from frontend/no-more-rounding into main 2025-02-07 18:09:33 +00:00
Showing only changes of commit 0271c3d7a7 - Show all commits

View File

@ -19,7 +19,7 @@ class StepBetweenLandmarks extends StatefulWidget {
class _StepBetweenLandmarksState extends State<StepBetweenLandmarks> {
@override
Widget build(BuildContext context) {
int time = 5 * ((widget.current.tripTime?.inMinutes ?? 0) ~/ 5);
int time = widget.current.tripTime?.inMinutes ?? 0;
return Container(
margin: EdgeInsets.all(10),
padding: EdgeInsets.all(10),