this repo has no description
0
fork

Configure Feed

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

open link in app

+8 -1
+8 -1
apps/expo/src/components/rich-text.tsx
··· 31 31 className="text-blue-500" 32 32 onPress={(evt) => { 33 33 evt.stopPropagation(); 34 - void Linking.openURL(segment.link!.uri); 34 + const url = segment.link!.uri; 35 + // TODO: better heuristic? 36 + if (url.startsWith("https://bsky.app/profile")) { 37 + const path = url.slice("https://bsky.app".length); 38 + router.push(path); 39 + } else { 40 + void Linking.openURL(url); 41 + } 35 42 }} 36 43 > 37 44 {segment.text}