diff options
-rw-r--r-- | androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsFragment.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsFragment.kt b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsFragment.kt index 21fc62e..60222ff 100644 --- a/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsFragment.kt +++ b/androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsFragment.kt @@ -289,7 +289,7 @@ class UnitReportsFragment : Fragment() { p1, p2 ) (period as? ReportDates.ReportPeriod.Custom)?.let { - unitReportsViewModel.setReportPeriod(it.withFrom(fromPickedDatetime)) + unitReportsViewModel.setReportPeriod(it.withTo(toPickedDatetime)) } }, to.hour, to.minute, false) |