Explorar el Código

double-tap info

Viktoriia hace 5 días
padre
commit
618ef0faca

+ 13 - 0
src/components/AddVisitModal/index.tsx

@@ -219,6 +219,19 @@ export const AddVisitModal: React.FC<AddVisitModalProps> = ({
             style={[StyleSheet.absoluteFill, { opacity: activeTab === 'exact' ? 1 : 0 }]}
             pointerEvents={activeTab === 'exact' ? 'auto' : 'none'}
           >
+            {startDate && endDate && (
+              <Text
+                style={{
+                  color: Colors.TEXT_GRAY,
+                  fontSize: 12,
+                  textAlign: 'center',
+                  fontWeight: '500',
+                  marginBottom: 8
+                }}
+              >
+                Double-tap to mark the first day of your visit.
+              </Text>
+            )}
             <DateTimePicker
               mode="range"
               startDate={startDate}

+ 1 - 1
src/components/Calendars/RangeCalendar/RangeCalendarWithTabs.tsx

@@ -368,7 +368,7 @@ export default function RangeCalendarWithTabs({
                   marginBottom: 8
                 }}
               >
-                Double-tap to mark the first day of your trip.
+                Double-tap to mark the first day of your visit.
               </Text>
             )}
             <DateTimePicker