diff options
author | Iván Ávalos <avalos@disroot.org> | 2022-04-14 00:16:22 -0500 |
---|---|---|
committer | Iván Ávalos <avalos@disroot.org> | 2022-04-14 00:16:22 -0500 |
commit | c96e426131f64ebbfa48c46fa75f8d750a358081 (patch) | |
tree | 13f6735d1d38422352a49a008fae996f53f6ea65 | |
parent | e40c90a202fda0f374c4ad92eb8723c138c13f19 (diff) | |
parent | ad7f1cee19b7383a1293fb5870df7b7eea2fd069 (diff) | |
download | etbsa-trackermap-mobile-c96e426131f64ebbfa48c46fa75f8d750a358081.tar.gz etbsa-trackermap-mobile-c96e426131f64ebbfa48c46fa75f8d750a358081.tar.bz2 etbsa-trackermap-mobile-c96e426131f64ebbfa48c46fa75f8d750a358081.zip |
Merge remote-tracking branch 'origin/custom_reports' into custom_reports
-rw-r--r-- | iosApp/iosApp/Details/Reports/UnitReportsView.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iosApp/iosApp/Details/Reports/UnitReportsView.swift b/iosApp/iosApp/Details/Reports/UnitReportsView.swift index 4f4378f..3a81f59 100644 --- a/iosApp/iosApp/Details/Reports/UnitReportsView.swift +++ b/iosApp/iosApp/Details/Reports/UnitReportsView.swift @@ -140,11 +140,11 @@ struct UnitReportsView: View { } if unitReportsViewModel.periodType == .custom { - DatePicker(selection: $unitReportsViewModel.fromDate) { + DatePicker(selection: $unitReportsViewModel.fromDate, in: ...Date()) { Text("period-from") } - DatePicker(selection: $unitReportsViewModel.toDate) { + DatePicker(selection: $unitReportsViewModel.toDate, in: ...Date()) { Text("period-to") } } |