mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 18:39:20 -05:00
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: 720791ae6b
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Reviewed-by: @mbelinky
28 lines
802 B
Swift
28 lines
802 B
Swift
import SwiftUI
|
|
|
|
struct WatchInboxView: View {
|
|
@Bindable var store: WatchInboxStore
|
|
|
|
var body: some View {
|
|
ScrollView {
|
|
VStack(alignment: .leading, spacing: 8) {
|
|
Text(store.title)
|
|
.font(.headline)
|
|
.lineLimit(2)
|
|
|
|
Text(store.body)
|
|
.font(.body)
|
|
.fixedSize(horizontal: false, vertical: true)
|
|
|
|
if let updatedAt = store.updatedAt {
|
|
Text("Updated \(updatedAt.formatted(date: .omitted, time: .shortened))")
|
|
.font(.footnote)
|
|
.foregroundStyle(.secondary)
|
|
}
|
|
}
|
|
.frame(maxWidth: .infinity, alignment: .leading)
|
|
.padding()
|
|
}
|
|
}
|
|
}
|