fix: add missing @ prefix back for account search result UI

This commit is contained in:
CMK 2021-07-26 15:54:25 +08:00
parent da4b734c76
commit f712aa2c0f
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ extension SearchResultTableViewCell {
let metaContent = PlaintextMetaContent(string: name)
_titleLabel.configure(content: metaContent)
}
_subTitleLabel.text = account.acct
_subTitleLabel.text = "@" + account.acct
}
func config(with account: MastodonUser) {
@ -173,7 +173,7 @@ extension SearchResultTableViewCell {
let metaContent = PlaintextMetaContent(string: account.displayNameWithFallback)
_titleLabel.configure(content: metaContent)
}
_subTitleLabel.text = account.acct
_subTitleLabel.text = "@" + account.acct
}
func config(with tag: Mastodon.Entity.Tag) {