experiment(BookmarkRow): show dateAdded relative time inline with domain — 'domain · 2 days ago'
This commit is contained in:
@@ -28,9 +28,13 @@ struct BookmarkRow: View {
|
|||||||
.lineLimit(2)
|
.lineLimit(2)
|
||||||
.fixedSize(horizontal: false, vertical: true)
|
.fixedSize(horizontal: false, vertical: true)
|
||||||
|
|
||||||
Text(bookmark.domain)
|
HStack(spacing: 4) {
|
||||||
.font(.system(size: 13))
|
Text(bookmark.domain)
|
||||||
.foregroundStyle(.tertiary)
|
Text("·")
|
||||||
|
Text(bookmark.dateAdded, style: .relative)
|
||||||
|
}
|
||||||
|
.font(.system(size: 13))
|
||||||
|
.foregroundStyle(.tertiary)
|
||||||
}
|
}
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
|||||||
Reference in New Issue
Block a user