Skip to content
Snippets Groups Projects
Commit 80a471b2 authored by Emircan Duman's avatar Emircan Duman
Browse files

#32 naming article provider in ArticleListRow.swift

parent da08b6fd
No related branches found
No related tags found
No related merge requests found
......@@ -26,9 +26,15 @@ struct ArticleListRow: View {
.font(.title2)
.lineLimit(1)
HStack{
Text("provider_name")
.font(.caption2)
if article.parent_feeds.isEmpty {
Text("Saved")
.font(.caption2)
} else {
Text("\(article.parent_feeds[0].parent_feed.token) - \(article.parent_feeds[0].name)")
.font(.caption2)
.lineLimit(2)
}
Text(article.date_to_string())
.font(.caption2)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment