Browse Source

autocomplete: add space after replacing occurances

This is more intuitive
translations_damus-localizations-en-us-xcloc-localized-contents-en-us-xliff--master_pl_PL
William Casarin 2 years ago
parent
commit
3af9131afe
  1. 2
      damus/Views/Posting/UserSearch.swift

2
damus/Views/Posting/UserSearch.swift

@ -39,7 +39,7 @@ struct UserSearch: View {
guard let pk = bech32_pubkey(user.pubkey) else { guard let pk = bech32_pubkey(user.pubkey) else {
return return
} }
post = post.replacingOccurrences(of: "@"+search, with: "@"+pk) post = post.replacingOccurrences(of: "@"+search, with: "@"+pk+" ")
} }
} }
} }

Loading…
Cancel
Save