summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2025-01-18 12:19:27 +0100
committerSanto Cariotti <santo@dcariotti.me>2025-01-18 12:19:27 +0100
commit81013130d9e718e6cbc0b43c2fbfa72754d761d9 (patch)
treeb8c9084384f9167044b4ff55e52924e6957ce3ef
parent766204babff54626101cf4b3b476d11e2e85acab (diff)
Fetch notifications after login
-rw-r--r--app/(tabs)/index.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx
index cfae10f..6f196ea 100644
--- a/app/(tabs)/index.tsx
+++ b/app/(tabs)/index.tsx
@@ -258,6 +258,7 @@ export default function HomeScreen() {
});
})
.catch((error: any) => alert(`${error}`));
+ fetchNotifications();
}
} catch (err) {
console.error("Login Error:", err);