Skip to content

Commit

Permalink
Update HomeScreen.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Sep 23, 2023
1 parent 28aac00 commit 509f774
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mobile/screens/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ const HomeScreen = ({ navigation, route }: NativeStackScreenProps<StackParams, '
label={i18n.t('FROM_DATE')}
value={fromDate}
minDate={_fromDate}
hideClearButton
onChange={(date) => {
if (date) {

Expand All @@ -228,6 +229,7 @@ const HomeScreen = ({ navigation, route }: NativeStackScreenProps<StackParams, '
style={styles.component}
label={i18n.t('FROM_TIME')}
value={fromTime}
hideClearButton
onChange={(time) => {
setFromTime(time)
}}
Expand All @@ -241,6 +243,7 @@ const HomeScreen = ({ navigation, route }: NativeStackScreenProps<StackParams, '
label={i18n.t('TO_DATE')}
value={toDate}
minDate={minDate}
hideClearButton
onChange={(date) => {
setToDate(date)
}}
Expand All @@ -253,6 +256,7 @@ const HomeScreen = ({ navigation, route }: NativeStackScreenProps<StackParams, '
style={styles.component}
label={i18n.t('TO_TIME')}
value={toTime}
hideClearButton
onChange={(time) => {
setToTime(time)
}}
Expand Down

0 comments on commit 509f774

Please sign in to comment.