Show non-image link inline
Changelog-Changed: Show non-image links inline
This commit is contained in:
@@ -41,11 +41,11 @@ func render_note_content(ev: NostrEvent, profiles: Profiles, privkey: String?) -
|
|||||||
if is_image_url(url) {
|
if is_image_url(url) {
|
||||||
// Append Image
|
// Append Image
|
||||||
img_urls.append(url)
|
img_urls.append(url)
|
||||||
|
return str
|
||||||
} else {
|
} else {
|
||||||
link_urls.append(url)
|
link_urls.append(url)
|
||||||
|
return str + url.absoluteString
|
||||||
}
|
}
|
||||||
|
|
||||||
return str
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user