about summary refs log tree commit diff
path: root/src/lib/notifications
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-07-17 14:32:58 -0500
committerGitHub <noreply@github.com>2025-07-17 14:32:58 -0500
commit964eed54eaa53f0912b336391642654cb8a0f605 (patch)
treefa5beda05823ca6025e8bcec4ad711f52919baba /src/lib/notifications
parent00b017804bcb811b5f9292a88619423df3a29ef8 (diff)
downloadvoidsky-964eed54eaa53f0912b336391642654cb8a0f605.tar.zst
Age assurance fast-follows (#8656)
* Add feed banner

* Comment

* Update nux name

* Handle did error

* Hide mod settings if underage or age restricted

* Add metrics

* Remove DEV override

* Copy suggestion

* Small copy edits

* useState

* Fix bug

* Update src/components/ageAssurance/useAgeAssuranceCopy.ts

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>

* Get rid of debug button

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Diffstat (limited to 'src/lib/notifications')
-rw-r--r--src/lib/notifications/notifications.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/notifications/notifications.ts b/src/lib/notifications/notifications.ts
index 0d2f9ed09..67a38a52c 100644
--- a/src/lib/notifications/notifications.ts
+++ b/src/lib/notifications/notifications.ts
@@ -192,6 +192,9 @@ export function useNotificationsRegistration() {
      * Register the push token with the Bluesky server, whenever it changes.
      * This is also fired any time `getDevicePushTokenAsync` is called.
      *
+     * Since this is registered immediately after `getAndRegisterPushToken`, it
+     * should also detect that getter and be fired almost immediately after this.
+     *
      * According to the Expo docs, there is a chance that the token will change
      * while the app is open in some rare cases. This will fire
      * `registerPushToken` whenever that happens.