|
@@ -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}
|