damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 3af9131afe222c54234c5317900c83dc8ef92565
parent b6b6d033a8775b44a71a74c457f4fc5c3e211304
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 28 Jan 2023 15:50:42 -0800

autocomplete: add space after replacing occurances

This is more intuitive

Diffstat:
Mdamus/Views/Posting/UserSearch.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/Posting/UserSearch.swift b/damus/Views/Posting/UserSearch.swift @@ -39,7 +39,7 @@ struct UserSearch: View { guard let pk = bech32_pubkey(user.pubkey) else { return } - post = post.replacingOccurrences(of: "@"+search, with: "@"+pk) + post = post.replacingOccurrences(of: "@"+search, with: "@"+pk+" ") } } }