From 0ef17a464d9118808c479c9610a12a42dc30e87f Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 4 Sep 2024 12:20:21 -0700 Subject: [PATCH] Use new player icon for external video embeds (#5147) --- src/view/com/util/post-embeds/ExternalPlayerEmbed.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view/com/util/post-embeds/ExternalPlayerEmbed.tsx b/src/view/com/util/post-embeds/ExternalPlayerEmbed.tsx index 9fdede87..111867fc 100644 --- a/src/view/com/util/post-embeds/ExternalPlayerEmbed.tsx +++ b/src/view/com/util/post-embeds/ExternalPlayerEmbed.tsx @@ -17,7 +17,6 @@ import {useSafeAreaInsets} from 'react-native-safe-area-context' import {WebView} from 'react-native-webview' import {Image} from 'expo-image' import {AppBskyEmbedExternal} from '@atproto/api' -import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' import {useNavigation} from '@react-navigation/native' @@ -29,6 +28,7 @@ import {useExternalEmbedsPrefs} from '#/state/preferences' import {atoms as a} from '#/alf' import {useDialogControl} from '#/components/Dialog' import {EmbedConsentDialog} from '#/components/dialogs/EmbedConsent' +import {PlayButtonIcon} from '#/components/video/PlayButtonIcon' import {EventStopper} from '../EventStopper' interface ShouldStartLoadRequest { @@ -59,7 +59,7 @@ function PlaceholderOverlay({ onPress={onPress} style={[styles.overlayContainer, styles.topRadius]}> {!isPlayerActive ? ( - + ) : ( )}