added preview for views
iOS CI / Build and Test SwiftUI App (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build Unsigned iOS IPA (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build macOS ZIP (push) Canceled after 0s

This commit is contained in:
wt
2026-09-04 01:45:09 +07:00
parent 1650145d4d
commit 1e2670903f
36 changed files with 744 additions and 16 deletions
@@ -152,3 +152,19 @@ struct ForwardMessageView: View {
return "\(count) \(word)"
}
}
#Preview {
ForwardMessageView(
model: PreviewSupport.model,
messages: [
PreviewSupport.message(body: "Привет! Как дела?"),
PreviewSupport.message(
senderJID: "me@example.org",
body: "Созвонимся вечером?",
direction: .outgoing,
delivery: .sent
),
]
)
.modelContainer(PreviewSupport.container)
}