Move browser env into main env (#9718)

This commit is contained in:
Eric Bailey
2026-01-16 17:20:03 -06:00
committed by GitHub
parent 0589bd7d9e
commit 62c0c06bbf
18 changed files with 70 additions and 55 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
import {Dimensions} from 'react-native'
import {isSafari} from '#/lib/browser'
import {IS_WEB} from '#/env'
import {IS_WEB, IS_WEB_SAFARI} from '#/env'
const {height: SCREEN_HEIGHT} = Dimensions.get('window')
@@ -560,7 +559,7 @@ export function parseTenorGif(urlp: URL):
}
if (IS_WEB) {
if (isSafari) {
if (IS_WEB_SAFARI) {
id = id.replace('AAAAC', 'AAAP1')
filename = filename.replace('.gif', '.mp4')
} else {