aboutsummaryrefslogtreecommitdiff
path: root/androidApp/src/main/java/mx/trackermap
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-04-14 00:16:14 -0500
committerIván Ávalos <avalos@disroot.org>2022-04-14 00:16:14 -0500
commite40c90a202fda0f374c4ad92eb8723c138c13f19 (patch)
tree7bad03b07637a404fb6f73f9f1db85037ad3806d /androidApp/src/main/java/mx/trackermap
parent74bb32cba48a5278add7fb0ed555914633a613d3 (diff)
downloadetbsa-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/trackermap')
-rw-r--r--androidApp/src/main/java/mx/trackermap/TrackerMap/android/details/reports/UnitReportsFragment.kt2
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)