diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-01 17:44:11 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-01 17:44:11 -0500 |
commit | c758829621b78aadfb17c52da81aa2cba28dbf4d (patch) | |
tree | 22274c997f08f6549e4aad7ab19071253a04a4e3 /src/components/notifications/Notification.tsx | |
parent | 7a09cc96bf1fe468a612bb44362bbef24fccc773 (diff) |
first version
Diffstat (limited to 'src/components/notifications/Notification.tsx')
-rw-r--r-- | src/components/notifications/Notification.tsx | 14 |
1 files changed, 14 insertions, 0 deletions
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<NotificationProps> = (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; } |