mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-11-22 00:21:50 +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
@@ -21,7 +21,7 @@ struct Badge : View {
|
||||
|
||||
var body: some View {
|
||||
Text(text)
|
||||
.color(.white)
|
||||
.foregroundColor(.white)
|
||||
.padding()
|
||||
.background(color)
|
||||
.cornerRadius(8)
|
||||
|
||||
Reference in new issue
Block a user