properly handle link press events

This commit is contained in:
Hailey
2024-01-12 22:50:15 -08:00
parent 2802902c69
commit 5216464458
4 changed files with 97 additions and 46 deletions
+2 -1
View File
@@ -108,7 +108,8 @@ export function RichText({
style={[style, pal.text, lineHeightStyle]}
numberOfLines={numberOfLines}
// @ts-ignore web only -prf
dataSet={WORD_WRAP}>
dataSet={WORD_WRAP}
selectable={selectable}>
{els}
</Text>
)
-2
View File
@@ -27,8 +27,6 @@ export function Text({
const typography = theme.typography[type]
const lineHeightStyle = lineHeight ? lh(theme, type, lineHeight) : undefined
// {"color":"#000000","fontSize":20,"letterSpacing":0.2,"fontWeight":"400","flex":1,"lineHeight":26}
// if (false) {
// TODO remove
if (selectable && isIOS) {