diff options
Diffstat (limited to 'src/screens/main/NotificationsScreen.tsx')
-rw-r--r-- | src/screens/main/NotificationsScreen.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screens/main/NotificationsScreen.tsx b/src/screens/main/NotificationsScreen.tsx index 3a809d73..4bdee942 100644 --- a/src/screens/main/NotificationsScreen.tsx +++ b/src/screens/main/NotificationsScreen.tsx @@ -64,7 +64,9 @@ const NotificationsScreen: React.FC = () => { }; //Called everytime screen is focused - refreshNotifications(); + if (newNotificationReceived) { + refreshNotifications(); + } //Called when user leaves the screen return () => resetNewNotificationFlag(); |