diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-04-14 00:16:14 -0500 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-04-14 00:16:14 -0500 |
commit | e40c90a202fda0f374c4ad92eb8723c138c13f19 (patch) | |
tree | 7bad03b07637a404fb6f73f9f1db85037ad3806d /androidApp/src/main/java/mx | |
parent | 74bb32cba48a5278add7fb0ed555914633a613d3 (diff) | |
download | etbsa-trackermap-mobile-e40c90a202fda0f374c4ad92eb8723c138c13f19.tar.gz etbsa-trackermap-mobile-e40c90a202fda0f374c4ad92eb8723c138c13f19.tar.bz2 etbsa-trackermap-mobile-e40c90a202fda0f374c4ad92eb8723c138c13f19.zip |
- [android] Fixed “to” date picker
Diffstat (limited to 'androidApp/src/main/java/mx')
-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) |