File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Examples/DemosApp/DemosApp/ComponentsPreview/PreviewPages Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import UIKit
44
55struct CardPreview : View {
66 @State private var model = CardVM ( )
7-
7+
88 var body : some View {
99 VStack {
1010 PreviewWrapper ( title: " UIKit " ) {
@@ -52,17 +52,16 @@ private func cardContent() -> UIView {
5252 titleLabel. font = UniversalFont . mdHeadline. uiFont
5353 titleLabel. textColor = UniversalColor . foreground. uiColor
5454 titleLabel. numberOfLines = 0
55-
55+
5656 let subtitleLabel = UILabel ( )
57- subtitleLabel. text = " Card is a container for text, photos , and other content. "
57+ subtitleLabel. text = " Card is a container for text, images , and other content. "
5858 subtitleLabel. font = UniversalFont . mdBody. uiFont
5959 subtitleLabel. textColor = UniversalColor . secondaryForeground. uiColor
6060 subtitleLabel. numberOfLines = 0
61-
62-
61+
6362 let stackView = UIStackView ( arrangedSubviews: [ titleLabel, subtitleLabel] )
6463 stackView. axis = . vertical
6564 stackView. spacing = 8
66-
65+
6766 return stackView
6867}
You can’t perform that action at this time.
0 commit comments