mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-31 01:27:11 +01:00
fix: hashtag auto complete issue
This commit is contained in:
parent
8335d5a6c6
commit
ce076b264b
@ -627,10 +627,10 @@ extension ComposeContentViewController: ComposeContentViewModelDelegate {
|
||||
let _replacedText: String? = {
|
||||
var text: String
|
||||
switch item {
|
||||
case .hashtag(let hashtag):
|
||||
text = "#" + hashtag.name
|
||||
case .hashtagV1(let hashtagName):
|
||||
text = "#" + hashtagName
|
||||
case .hashtag, .hashtagV1:
|
||||
// do no fill the hashtag
|
||||
// allow user delete suffix and post they want
|
||||
return nil
|
||||
case .account(let account):
|
||||
text = "@" + account.acct
|
||||
case .emoji(let emoji):
|
||||
|
Loading…
x
Reference in New Issue
Block a user