disable modal profile popup android (#2188)

zio/stable
Ansh 2023-12-13 02:37:30 +05:30 committed by GitHub
parent 870505cbe2
commit 1289b161a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import React from 'react'
import {Pressable, StyleProp, ViewStyle} from 'react-native'
import {Link} from './Link'
import {isWeb} from 'platform/detection'
import {isAndroid, isWeb} from 'platform/detection'
import {makeProfileLink} from 'lib/routes/links'
import {useModalControls} from '#/state/modals'
@ -15,7 +15,7 @@ export function UserPreviewLink(
) {
const {openModal} = useModalControls()
if (isWeb) {
if (isWeb || isAndroid) {
return (
<Link
href={makeProfileLink(props)}