Files
openclaw/apps/ios/WatchExtension/Sources/WatchInboxView.swift
Mariano 57083e4220 iOS: add Apple Watch companion message MVP (#20054)
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
2026-02-18 13:37:41 +00:00

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()
}
}
}