Open des12437 opened 3 months ago
The following view modifiers should be replaced with the following:
foregroundColor
.foregroundColor(.accentColor)
.foregroundStyle(Color.accentColor)
cornerRadius
.cornerRadius(5)
.clipShape(.rect(cornerRadius: 5))
The following view modifiers should be replaced with the following:
foregroundColor
is deprecated:.foregroundColor(.accentColor)
->.foregroundStyle(Color.accentColor)
cornerRadius
will be deprecated in iOS 18:.cornerRadius(5)
->.clipShape(.rect(cornerRadius: 5))