Skip to content

Commit

Permalink
Fix android date issue
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Oct 7, 2023
1 parent d9cf4b5 commit 422c7fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,13 @@ export default function Account({ session }: { session: Session }) {
value={raceEthnicity}
onChange={setRaceEthnicity}
/>

{Platform.OS !== 'ios' && (
<Button
title="Change Birthday"
onPress={() => setShowDatePicker(true)}
/>
)}
{showDatePicker && (
<DateTimePicker
testID="dateTimePicker"
Expand Down

0 comments on commit 422c7fa

Please sign in to comment.