From c758829621b78aadfb17c52da81aa2cba28dbf4d Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 1 Feb 2021 17:44:11 -0500 Subject: first version --- src/components/notifications/Notification.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/components/notifications') diff --git a/src/components/notifications/Notification.tsx b/src/components/notifications/Notification.tsx index e0ae231e..265c21b1 100644 --- a/src/components/notifications/Notification.tsx +++ b/src/components/notifications/Notification.tsx @@ -166,6 +166,20 @@ const Notification: React.FC = (props) => { }, 500); } break; + case 'MOMENT_3+': + case 'MOMENT_FRIEND': + const object = notification_object as MomentType; + await fetchUserX( + dispatch, + {userId: id, username: username}, + screenType, + ); + navigation.push('IndividualMoment', { + moment: object, + userXId: id, + screenType, + }); + break; default: break; } -- cgit v1.2.3-70-g09d2