diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewModel.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewModel.swift index 35aa4992f..bdda13bda 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewModel.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewModel.swift @@ -38,7 +38,7 @@ enum LoadingBarStyle { @Published var selectedLabels = [LinkedItemLabel]() @Published var negatedLabels = [LinkedItemLabel]() @Published var appliedSort = LinkedItemSort.newest.rawValue - + @Published var digestIsUnread = false @State var lastMoreFetched: Date? diff --git a/apple/OmnivoreKit/Sources/Views/FeedItem/LibraryItemCard.swift b/apple/OmnivoreKit/Sources/Views/FeedItem/LibraryItemCard.swift index d05d3af68..8956fc5fb 100644 --- a/apple/OmnivoreKit/Sources/Views/FeedItem/LibraryItemCard.swift +++ b/apple/OmnivoreKit/Sources/Views/FeedItem/LibraryItemCard.swift @@ -284,10 +284,11 @@ public struct LibraryItemCard: View { let texts = [savedAtText, estimatedReadingTimeText, readingProgressText, highlightsText, notesText] .compactMap { $0 } - texts.dropLast().reduce(Text("")) { result, text in + if texts.count > 0 { + texts.dropLast().reduce(Text("")) { result, text in result + text + Text(" • ").font(.footnote).foregroundColor(Color.themeLibraryItemSubtle) - } + texts.last! - // .reduce(Text(""), +) + } + texts.last! + } } .frame(maxWidth: .infinity, alignment: .leading) }