diff options
author | Hailey <me@haileyok.com> | 2024-09-04 12:20:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-04 12:20:21 -0700 |
commit | 0ef17a464d9118808c479c9610a12a42dc30e87f (patch) | |
tree | b514f02a37e5927e033ca283256c741bb160763c /src | |
parent | 5dcb52015cb690be631a2e3121241d13a1c551ad (diff) | |
download | voidsky-0ef17a464d9118808c479c9610a12a42dc30e87f.tar.zst |
Use new player icon for external video embeds (#5147)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/post-embeds/ExternalPlayerEmbed.tsx | 4 |
1 files 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 9fdede877..111867fc6 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 ? ( - <FontAwesomeIcon icon="play" size={42} color="white" /> + <PlayButtonIcon /> ) : ( <ActivityIndicator size="large" color="white" /> )} |