mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-11-28 19:12:49 +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
@@ -71,7 +71,7 @@ struct TitleText: View {
|
||||
let text: String
|
||||
var body: some View {
|
||||
return Text(text)
|
||||
.color(.primary)
|
||||
.foregroundColor(.primary)
|
||||
.bold()
|
||||
}
|
||||
}
|
||||
@@ -81,6 +81,6 @@ struct DescriptionText : View {
|
||||
var body: some View {
|
||||
return Text(text)
|
||||
.font(.footnote).fontWeight(.semibold)
|
||||
.color(.secondary)
|
||||
.foregroundColor(.secondary)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user