Remove some extra whitespace; remove some unneeded string literals.

This commit is contained in:
Brent Simmons committed 2025-11-06 09:50:59 -08:00
1 parent c40235ba6e
commit 4723a1be4b
2 files changed
+4 -13

No files matched your search

@@ -11,12 +11,11 @@ import Articles
import RSDatabase
public struct SyncStatus: Hashable, Equatable {
public enum Key: String {
case read = "read"
case starred = "starred"
case deleted = "deleted"
case new = "new"
case read
case starred
case deleted
case new
public init(_ articleStatusKey: ArticleStatus.Key) {
switch articleStatusKey {
@@ -26,7 +25,6 @@ public struct SyncStatus: Hashable, Equatable {
self = Self.starred
}
}
}
public let articleID: String
@@ -44,5 +42,4 @@ public struct SyncStatus: Hashable, Equatable {
public func databaseDictionary() -> DatabaseDictionary {
return [DatabaseKey.articleID: articleID, DatabaseKey.key: key.rawValue, DatabaseKey.flag: flag, DatabaseKey.selected: selected]
}
}