about summary refs log tree commit diff
path: root/src/platform/detection.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/detection.ts')
-rw-r--r--src/platform/detection.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/detection.ts b/src/platform/detection.ts
index 3069c9be2..41ca20e5d 100644
--- a/src/platform/detection.ts
+++ b/src/platform/detection.ts
@@ -5,6 +5,7 @@ import {dedupArray} from 'lib/functions'
 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: 1230px)'
 export const isMobileWeb =