aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/screens/main/NotificationsScreen.tsx4
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();