summaryrefslogtreecommitdiff
path: root/Sora/Views
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views')
-rw-r--r--Sora/Views/Generic/GenericItemView.swift6
1 files changed, 6 insertions, 0 deletions
diff --git a/Sora/Views/Generic/GenericItemView.swift b/Sora/Views/Generic/GenericItemView.swift
index bb2be1f..af79736 100644
--- a/Sora/Views/Generic/GenericItemView.swift
+++ b/Sora/Views/Generic/GenericItemView.swift
@@ -27,6 +27,12 @@ struct GenericItemView<T: GenericItem>: View {
Text("On \(item.date.formatted()) from \(item.provider.rawValue)")
.font(.caption)
.foregroundStyle(Color.secondary)
+
+ if let folder = item.folder {
+ Text("In \(folder)")
+ .font(.caption)
+ .foregroundStyle(Color.secondary)
+ }
}
#endif
}