Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

remove .parse usage (#8016)

* remove .parse usage

* add one more usage

authored by

Hailey and committed by
GitHub
c612fca3 4b7bda70

+4 -4
+1 -1
src/lib/strings/url-helpers.ts
··· 323 323 export function createProxiedUrl(url: string): string { 324 324 let u 325 325 try { 326 - u = URL.parse(url) 326 + u = new URL(url) 327 327 } catch { 328 328 return url 329 329 }
+2 -2
src/view/com/modals/InAppBrowserConsent.tsx
··· 24 24 const onUseIAB = React.useCallback(() => { 25 25 setInAppBrowser(true) 26 26 closeModal() 27 - openLink(href, true) 27 + openLink(href, true, true) 28 28 }, [closeModal, setInAppBrowser, href, openLink]) 29 29 30 30 const onUseLinking = React.useCallback(() => { 31 31 setInAppBrowser(false) 32 32 closeModal() 33 - openLink(href, false) 33 + openLink(href, false, true) 34 34 }, [closeModal, setInAppBrowser, href, openLink]) 35 35 36 36 return (
+1 -1
src/view/com/modals/LinkWarning.tsx
··· 39 39 if (share) { 40 40 shareUrl(href) 41 41 } else { 42 - openLink(href) 42 + openLink(href, false, true) 43 43 } 44 44 } 45 45