diff options
| author | Dustin Mierau <dustin@mierau.me> | 2024-05-10 15:24:50 -0700 |
|---|---|---|
| committer | Dustin Mierau <dustin@mierau.me> | 2024-05-10 15:24:50 -0700 |
| commit | 4a4fab030b69ec799fae42f9a444392e7be7a43a (patch) | |
| tree | 0db4b668f8ee5cc31527f27a240423e32bc8bc35 /Hotline/Models/NewsInfo.swift | |
| parent | b5c2a0f619f645412780d873f17c4333c787ae30 (diff) | |
First crack at threading news. Added read state to news items. Playing with some icon visual styles.
Diffstat (limited to 'Hotline/Models/NewsInfo.swift')
| -rw-r--r-- | Hotline/Models/NewsInfo.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Hotline/Models/NewsInfo.swift b/Hotline/Models/NewsInfo.swift index f95cba1..b635138 100644 --- a/Hotline/Models/NewsInfo.swift +++ b/Hotline/Models/NewsInfo.swift @@ -24,6 +24,7 @@ enum NewsInfoType { var articleFlavors: [String]? var articleUsername: String? var articleDate: Date? + var read: Bool = false init(hotlineNewsCategory: HotlineNewsCategory) { self.categoryID = hotlineNewsCategory.id |