Browse Source

punto y como en dia

ErnestoOrtiz2 2 years ago
parent
commit
150b837072
3 changed files with 7 additions and 4 deletions
  1. 1
    1
      screens/main/Cita.js
  2. 1
    1
      screens/main/Confirm.js
  3. 5
    2
      screens/main/Home_page.js

+ 1
- 1
screens/main/Cita.js View File

@@ -120,7 +120,7 @@ export function Cita({route, navigation}) {
120 120
             descriptionNumberOfLines={1}
121 121
           />
122 122
           <List.Item
123
-            title='Día'
123
+            title='Día:'
124 124
             description={item.Day}
125 125
             titleNumberOfLines={1}
126 126
             titleStyle={styles.listTitle}

+ 1
- 1
screens/main/Confirm.js View File

@@ -134,7 +134,7 @@ export function Confirm({navigation}) {
134 134
             descriptionNumberOfLines={1}
135 135
           />
136 136
           <List.Item
137
-            title='Día'
137
+            title='Día:'
138 138
             description={item.Day}
139 139
             titleNumberOfLines={1}
140 140
             titleStyle={styles.listTitle}

+ 5
- 2
screens/main/Home_page.js View File

@@ -46,6 +46,9 @@ export function Home_page({navigation}) {
46 46
 
47 47
     responseListener.current = Notifications.addNotificationResponseReceivedListener(response => {
48 48
       console.log("response", response);
49
+      console.log("response date", response.notification.date);
50
+      console.log("response date", appointments[0]._id);
51
+      const idDate = response.notification.date;
49 52
       if (response.notification.request.content.body == 'Le solicitan una cita'){
50 53
         navigation.navigate('Confirm');
51 54
       } 
@@ -166,7 +169,7 @@ export function Home_page({navigation}) {
166 169
             descriptionNumberOfLines={1}
167 170
           />
168 171
           <List.Item
169
-            title='Día'
172
+            title='Día:'
170 173
             description={item.Day}
171 174
             titleNumberOfLines={1}
172 175
             titleStyle={styles.listTitle}
@@ -242,7 +245,7 @@ export function Home_page({navigation}) {
242 245
             descriptionNumberOfLines={1}
243 246
           />
244 247
           <List.Item
245
-            title='Día'
248
+            title='Día:'
246 249
             description={item.Day}
247 250
             titleNumberOfLines={1}
248 251
             titleStyle={styles.listTitle}