diff --git a/Frameworks/Account/FeedProvider/Twitter/Tweet.swift b/Frameworks/Account/FeedProvider/Twitter/Tweet.swift deleted file mode 100644 index f71853a4c..000000000 --- a/Frameworks/Account/FeedProvider/Twitter/Tweet.swift +++ /dev/null @@ -1,35 +0,0 @@ -// -// Tweet.swift -// Account -// -// Created by Maurice Parker on 4/16/20. -// Copyright © 2020 Ranchero Software, LLC. All rights reserved. -// - -import Foundation - -final class TwitterStatus: Codable { - - let createdAt: Date? - let idStr: String? - let fullText: String? - let displayTextRange: [Int]? - let user: TwitterUser - let truncated: Bool - let retweeted: Bool - let retweetedStatus: TwitterStatus? - let quotedStatus: TwitterStatus? - - enum CodingKeys: String, CodingKey { - case createdAt = "created_at" - case idStr = "id_str" - case fullText = "full_text" - case displayTextRange = "display_text_range" - case user = "user" - case truncated = "truncated" - case retweeted = "retweeted" - case retweetedStatus = "retweeted_status" - case quotedStatus = "quoted_status" - } - -} diff --git a/Frameworks/Account/FeedProvider/Twitter/TwitterMedia.swift b/Frameworks/Account/FeedProvider/Twitter/TwitterMedia.swift index ff10b5034..619ab6209 100644 --- a/Frameworks/Account/FeedProvider/Twitter/TwitterMedia.swift +++ b/Frameworks/Account/FeedProvider/Twitter/TwitterMedia.swift @@ -57,10 +57,10 @@ private extension TwitterMedia { func renderPhotoAsHTML() -> String { if let httpsMediaURL = httpsMediaURL { - return "" + return "
" } if let mediaURL = mediaURL { - return "" + return "
" } return "" } diff --git a/Frameworks/Account/FeedProvider/Twitter/TwitterMentions.swift b/Frameworks/Account/FeedProvider/Twitter/TwitterMentions.swift deleted file mode 100644 index 05f6b339f..000000000 --- a/Frameworks/Account/FeedProvider/Twitter/TwitterMentions.swift +++ /dev/null @@ -1,27 +0,0 @@ -// -// TwitterMentions.swift -// Account -// -// Created by Maurice Parker on 4/18/20. -// Copyright © 2020 Ranchero Software, LLC. All rights reserved. -// - -import Foundation - -struct TwitterMention { - - let name: String? - let indices: [Int]? - let screenName: String? - let expandedURL: String? - let idStr: String? - - enum CodingKeys: String, CodingKey { - case name = "url" - case indices = "indices" - case screenName = "screen_name" - case expandedURL = "expandedURL" - case idStr = "idStr" - } - -}