diff --git a/Account/Sources/Account/FeedProvider/Twitter/TwitterSymbol.swift b/Account/Sources/Account/FeedProvider/Twitter/TwitterSymbol.swift index 525a1a595..9b1119743 100644 --- a/Account/Sources/Account/FeedProvider/Twitter/TwitterSymbol.swift +++ b/Account/Sources/Account/FeedProvider/Twitter/TwitterSymbol.swift @@ -10,18 +10,18 @@ import Foundation struct TwitterSymbol: Codable, TwitterEntity { - let name: String? + let text: String? let indices: [Int]? enum CodingKeys: String, CodingKey { - case name = "name" + case text = "text" case indices = "indices" } func renderAsHTML() -> String { var html = String() - if let name = name { - html += "$\(name)" + if let text = text { + html += "$\(text)" } return html }