mirror of
https://github.com/yattee/yattee.git
synced 2024-12-24 22:43:41 +00:00
17 lines
354 B
Swift
17 lines
354 B
Swift
|
struct Comment: Identifiable, Equatable {
|
||
|
let id: String
|
||
|
let author: String
|
||
|
let authorAvatarURL: String
|
||
|
let time: String
|
||
|
let pinned: Bool
|
||
|
let hearted: Bool
|
||
|
var likeCount: Int
|
||
|
let text: String
|
||
|
let repliesPage: String?
|
||
|
let channel: Channel
|
||
|
|
||
|
var hasReplies: Bool {
|
||
|
!(repliesPage?.isEmpty ?? true)
|
||
|
}
|
||
|
}
|