mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-11-23 00:44:22 +01:00
Remove deprecation warnings for Xcode beta4
This commit is contained in:
1 parent
57e72ec52c
commit
7af0a711da
40 files changed
+63
-61
No files matched your search
+2
-2
@@ -17,7 +17,7 @@ struct ContentView: View {
|
||||
Text("Learning SwiftUI")
|
||||
.font(.largeTitle)
|
||||
.fontWeight(.semibold)
|
||||
.color(.black)
|
||||
.foregroundColor(.black)
|
||||
.padding(4)
|
||||
.animation(.basic(duration: 0.3, curve: .easeOut))
|
||||
|
||||
@@ -33,7 +33,7 @@ struct ContentView: View {
|
||||
Text("A course focused on UI")
|
||||
.font(.subheadline)
|
||||
.fontWeight(.regular)
|
||||
.color(.gray)
|
||||
.foregroundColor(.gray)
|
||||
.padding(4)
|
||||
.animation(.basic(duration: 0.4, curve: .easeIn))
|
||||
|
||||
|
||||
Reference in new issue
Block a user