mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-04-22 16:48:37 +02:00
Remove deprecation warnings for Xcode beta4
This commit is contained in:
@@ -19,19 +19,19 @@ struct ContentView : View {
|
||||
}) {
|
||||
VStack() {
|
||||
Text("Learn SwiftUI")
|
||||
.color(.white)
|
||||
.foregroundColor(.white)
|
||||
.fontWeight(.bold)
|
||||
.font(.largeTitle)
|
||||
.padding(.top, show ? 100 : 20)
|
||||
|
||||
Text("A course on UI and animations")
|
||||
.color(Color(hue: 0.567, saturation: 0.158, brightness: 0.943))
|
||||
.foregroundColor(Color(hue: 0.567, saturation: 0.158, brightness: 0.943))
|
||||
.lineLimit(-1)
|
||||
|
||||
Spacer()
|
||||
|
||||
Text("Card Animation")
|
||||
.color(Color(hue: 0.498, saturation: 0.609, brightness: 1.0))
|
||||
.foregroundColor(Color(hue: 0.498, saturation: 0.609, brightness: 1.0))
|
||||
.fontWeight(.bold)
|
||||
.font(.title)
|
||||
.padding(.bottom, show ? 100 : 20)
|
||||
|
||||
Reference in New Issue
Block a user