Skip to content

Commit 1fc575d

Browse files
committed
Add minor tweaks
1 parent 5061cc9 commit 1fc575d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/SwiftUIVisualEffects/Demonstration.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public struct SwiftUIVisualEffects_Demonstration: View {
1313
linearGradient
1414
.blurEffect()
1515

16-
VStack(spacing: 8) {
16+
VStack {
1717
image
1818
.vibrancyEffect()
1919

@@ -33,7 +33,7 @@ public struct SwiftUIVisualEffects_Demonstration: View {
3333

3434
private extension SwiftUIVisualEffects_Demonstration {
3535
var linearGradient: LinearGradient {
36-
LinearGradient(gradient: Gradient(colors: [.blue, .red]), startPoint: .topLeading, endPoint: .bottomTrailing)
36+
LinearGradient(gradient: Gradient(colors: [.blue, .red]), startPoint: .top, endPoint: .bottom)
3737
}
3838

3939
var image: some View {
@@ -44,12 +44,12 @@ private extension SwiftUIVisualEffects_Demonstration {
4444
}
4545

4646
var largeTitleText: Text {
47-
Text("Hello, world.")
47+
Text("Hello, World")
4848
.font(.largeTitle)
4949
}
5050

5151
var titleText: Text {
52-
Text("The world says, \"Hey.\"")
52+
Text("Greetings from SwiftUI")
5353
.font(.title)
5454
}
5555
}

0 commit comments

Comments
 (0)