Remove deprecation warnings for Xcode beta4

This commit is contained in:
John Holdsworth
2019-07-28 12:10:01 +01:00
parent 57e72ec52c
commit 7af0a711da
40 changed files with 63 additions and 61 deletions

View File

@@ -32,7 +32,7 @@ struct HomeCell : View {
.bold()
Text(timeStamp)
.font(Font.system(size: 12))
.color(Color.gray)
.foregroundColor(Color.gray)
.padding(.top, 8)
}
Spacer()
@@ -57,7 +57,7 @@ struct HomeCell : View {
.bold()
Text("发布")
.font(Font.system(size: 13))
.color(Color.gray)
.foregroundColor(Color.gray)
Spacer()
}