mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-04-26 02:28:36 +02:00
Remove deprecation warnings for Xcode beta4
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user