Add chat example

This commit is contained in:
David Langley
2021-09-12 14:57:45 +01:00
parent a20b50028e
commit b51dbb1b63
39 changed files with 1589 additions and 8 deletions
@@ -48,11 +48,18 @@ extension MockScreenState {
static func screenGroup(
themeId: ThemeIdentifier = .light,
locale: Locale = Locale.current,
sizeCategory: ContentSizeCategory = ContentSizeCategory.medium
sizeCategory: ContentSizeCategory = ContentSizeCategory.medium,
addNavigation: Bool = false
) -> some View {
Group {
ForEach(0..<screensViews.count) { index in
screensViews[index]
if addNavigation {
NavigationView{
screensViews[index]
}
} else {
screensViews[index]
}
}
}
.theme(themeId)