From f712aa2c0f28b83e3c0a02c1839c2688016c6f89 Mon Sep 17 00:00:00 2001 From: CMK Date: Mon, 26 Jul 2021 15:54:25 +0800 Subject: [PATCH] fix: add missing @ prefix back for account search result UI --- .../TableViewCell/SearchResultTableViewCell.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mastodon/Scene/Search/SearchDetail/TableViewCell/SearchResultTableViewCell.swift b/Mastodon/Scene/Search/SearchDetail/TableViewCell/SearchResultTableViewCell.swift index 46c0f663c..d0106a334 100644 --- a/Mastodon/Scene/Search/SearchDetail/TableViewCell/SearchResultTableViewCell.swift +++ b/Mastodon/Scene/Search/SearchDetail/TableViewCell/SearchResultTableViewCell.swift @@ -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) {