* Translation comment

* Fix error handling in starter pack generation

* Allow access to DM settings for age restricted users

* Leave post stat unit formatting up to translators
This commit is contained in:
Eric Bailey
2025-09-04 19:36:23 -05:00
committed by GitHub
parent 0b480bdaf8
commit c129108b78
12 changed files with 89 additions and 67 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import {isNative} from '#/platform/detection'
import {useAgeAssuranceContext} from '#/state/ageAssurance'
import {type SessionAccount, useAgent, useSession} from '#/state/session'
import BackgroundNotificationHandler from '#/../modules/expo-background-notification-handler'
import {IS_DEV} from '#/env'
/**
* @private
@@ -129,7 +130,7 @@ export function useGetAndRegisterPushToken() {
}: {
isAgeRestricted?: boolean
} = {}) => {
if (!isNative) return
if (!isNative || IS_DEV) return
/**
* This will also fire the listener added via `addPushTokenListener`. That