1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix in some rare cases

This commit is contained in:
Zhiyuan Zheng
2021-04-19 22:59:10 +02:00
parent 1ee9b7d91d
commit 0941fb04e9
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"native": "210317", "native": "210317",
"major": 1, "major": 1,
"minor": 0, "minor": 0,
"patch": 0, "patch": 1,
"expo": "40.0.0" "expo": "40.0.0"
}, },
"description": "tooot app for Mastodon", "description": "tooot app for Mastodon",

View File

@ -128,7 +128,8 @@ const renderNode = ({
}) })
}} }}
> >
{content || (showFullLink ? href : domain[1])} {(content && content !== href && content) ||
(showFullLink ? href : domain[1])}
{!shouldBeTag ? ( {!shouldBeTag ? (
<Icon <Icon
color={theme.blue} color={theme.blue}