mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-27 11:51:24 +01:00
Remove deprecation warnings for Xcode beta4
This commit is contained in:
@@ -86,7 +86,7 @@ struct BlockView : View {
|
||||
|
||||
Text(numberText)
|
||||
.font(Font.system(size: fontSize).bold())
|
||||
.color(colorPair.1)
|
||||
.foregroundColor(colorPair.1)
|
||||
.id(numberText)
|
||||
.transition(AnyTransition.scale(scale: 0.5, anchor: .center).combined(with: .opacity))
|
||||
.animation(.fluidSpring())
|
||||
|
||||
Reference in New Issue
Block a user