This commit is contained in:
Hailey
2025-02-27 12:49:49 -08:00
parent 63dddda3ef
commit d236a17810
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -227,6 +227,7 @@ export function Link({
onPress: outerOnPress,
onLongPress: outerOnLongPress,
download,
shouldProxy,
...rest
}: LinkProps) {
const {href, isExternal, onPress, onLongPress} = useLink({
@@ -235,6 +236,7 @@ export function Link({
action,
onPress: outerOnPress,
onLongPress: outerOnLongPress,
shouldProxy: shouldProxy,
})
return (
@@ -287,6 +289,7 @@ export function InlineLinkText({
shareOnLongPress,
disableUnderline,
overridePresentation,
shouldProxy,
...rest
}: InlineLinkProps) {
const t = useTheme()
@@ -300,6 +303,7 @@ export function InlineLinkText({
onLongPress: outerOnLongPress,
shareOnLongPress,
overridePresentation,
shouldProxy: shouldProxy,
})
const {
state: hovered,
+1
View File
@@ -35,6 +35,7 @@ export function useOpenLink() {
url,
})
console.log('clicked:', shouldProxy)
if (shouldProxy) {
url = createProxiedUrl(url)
}