From 494d0699e5d12af18c136fc95dd55d34f900fc49 Mon Sep 17 00:00:00 2001 From: Hailey Date: Thu, 5 Sep 2024 19:36:09 -0700 Subject: [PATCH] fix android --- src/view/com/util/post-embeds/VideoEmbed.tsx | 81 ++++++++++---------- 1 file changed, 40 insertions(+), 41 deletions(-) diff --git a/src/view/com/util/post-embeds/VideoEmbed.tsx b/src/view/com/util/post-embeds/VideoEmbed.tsx index b57bf05f36..0a1ee8eea1 100644 --- a/src/view/com/util/post-embeds/VideoEmbed.tsx +++ b/src/view/com/util/post-embeds/VideoEmbed.tsx @@ -8,7 +8,6 @@ import {useLingui} from '@lingui/react' import {clamp} from '#/lib/numbers' import {useGate} from '#/lib/statsig/statsig' -import {isAndroid, isIOS} from 'platform/detection' import {VideoEmbedInnerNative} from '#/view/com/util/post-embeds/VideoEmbedInner/VideoEmbedInnerNative' import {atoms as a} from '#/alf' import {Button} from '#/components/Button' @@ -148,46 +147,46 @@ function InnerWrapper({embed}: Props) { setIsFullscreen={setIsFullscreen} /> ) : null} - {(isAndroid && showOverlay) || isIOS ? ( - - - - ) : null} + + + ) }