about summary refs log tree commit diff
path: root/src/components/Post/Embed/ExternalEmbed/ExternalPlayer.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-06-14 00:43:17 +0300
committerGitHub <noreply@github.com>2025-06-13 16:43:17 -0500
commit00469314ca2f76bf13d0526afdd6c9253c0953d1 (patch)
treeb21d41d3eac86d3c135c9d701f65a1be47d09ee4 /src/components/Post/Embed/ExternalEmbed/ExternalPlayer.tsx
parented9691511beb26bdb799bbcb9a973a8b8df3433c (diff)
downloadvoidsky-00469314ca2f76bf13d0526afdd6c9253c0953d1.tar.zst
Use Button instead of TextLink for show more button (#8480)
* use button instead of TextLink for show more

* Match post text size, provide interaction feedback

* Move to new Post components dir

* Prettier

---------

Co-authored-by: Eric Bailey <git@esb.lol>
Diffstat (limited to 'src/components/Post/Embed/ExternalEmbed/ExternalPlayer.tsx')
-rw-r--r--src/components/Post/Embed/ExternalEmbed/ExternalPlayer.tsx11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/components/Post/Embed/ExternalEmbed/ExternalPlayer.tsx b/src/components/Post/Embed/ExternalEmbed/ExternalPlayer.tsx
index 7f6d53340..392cdd8a1 100644
--- a/src/components/Post/Embed/ExternalEmbed/ExternalPlayer.tsx
+++ b/src/components/Post/Embed/ExternalEmbed/ExternalPlayer.tsx
@@ -1,7 +1,7 @@
 import React from 'react'
 import {
   ActivityIndicator,
-  GestureResponderEvent,
+  type GestureResponderEvent,
   Pressable,
   StyleSheet,
   useWindowDimensions,
@@ -16,13 +16,16 @@ import Animated, {
 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 {type AppBskyEmbedExternal} from '@atproto/api'
 import {msg} from '@lingui/macro'
 import {useLingui} from '@lingui/react'
 import {useNavigation} from '@react-navigation/native'
 
-import {NavigationProp} from '#/lib/routes/types'
-import {EmbedPlayerParams, getPlayerAspect} from '#/lib/strings/embed-player'
+import {type NavigationProp} from '#/lib/routes/types'
+import {
+  type EmbedPlayerParams,
+  getPlayerAspect,
+} from '#/lib/strings/embed-player'
 import {isNative} from '#/platform/detection'
 import {useExternalEmbedsPrefs} from '#/state/preferences'
 import {EventStopper} from '#/view/com/util/EventStopper'