about summary refs log tree commit diff
path: root/src/platform/detection.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-06-25 21:32:51 -0500
committerGitHub <noreply@github.com>2025-06-25 21:32:51 -0500
commit92ffe66ae12df05370ddd44d37c23de3daa85775 (patch)
tree04c4b866d287b1ce926d39a5e098a20514085f94 /src/platform/detection.ts
parentbb760400feaf4bab668fc2532a4de64e6833200a (diff)
downloadvoidsky-92ffe66ae12df05370ddd44d37c23de3daa85775.tar.zst
Notifications registration (#8564)
* Formatting nits

* Debounce push token registration by 100ms

* Comment

* Align handling across native devices

* Clean up

* Simplify

* Use hooks

* Update import

* Comment

* Put app view DIDs in constants

* Clarify comment
Diffstat (limited to 'src/platform/detection.ts')
-rw-r--r--src/platform/detection.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/platform/detection.ts b/src/platform/detection.ts
index dc30c2fd3..083c00562 100644
--- a/src/platform/detection.ts
+++ b/src/platform/detection.ts
@@ -3,7 +3,6 @@ import {Platform} from 'react-native'
 export const isIOS = Platform.OS === 'ios'
 export const isAndroid = Platform.OS === 'android'
 export const isNative = isIOS || isAndroid
-export const devicePlatform = isIOS ? 'ios' : isAndroid ? 'android' : 'web'
 export const isWeb = !isNative
 export const isMobileWebMediaQuery = 'only screen and (max-width: 1300px)'
 export const isMobileWeb =