added preview for views
This commit is contained in:
1 parent
1650145d4d
commit
1e2670903f
36 files changed
+744
-16
No files matched your search
@@ -241,3 +241,18 @@ private struct CallControlButton: View {
|
||||
.accessibilityLabel(title)
|
||||
}
|
||||
}
|
||||
|
||||
#Preview("Входящий видеозвонок") {
|
||||
CallView(model: PreviewSupport.model, call: PreviewSupport.callSnapshot())
|
||||
}
|
||||
|
||||
#Preview("Аудиозвонок") {
|
||||
CallView(
|
||||
model: PreviewSupport.model,
|
||||
call: PreviewSupport.callSnapshot(
|
||||
media: [.audio],
|
||||
phase: .connected,
|
||||
isSpeakerEnabled: true
|
||||
)
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user