mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Further tweak
This commit is contained in:
parent
2374a6552b
commit
a56477b896
@ -97,8 +97,8 @@ extension SendPostIntentHandler: SendPostIntentHandling {
|
||||
subtitle: content,
|
||||
image: response.value.account.avatarImageURL().flatMap { INImage(url: $0) }
|
||||
)
|
||||
if let urlString = response.value.url {
|
||||
post.url = URL(string: urlString)
|
||||
if let urlString = response.value.url, let url = URL(string: urlString) {
|
||||
post.url = url
|
||||
}
|
||||
posts.append(post)
|
||||
} // end for in
|
||||
|
Loading…
x
Reference in New Issue
Block a user