|
|
@ -75,16 +75,16 @@ struct AddPlayerView: View {
|
|
|
|
isPresented = false
|
|
|
|
isPresented = false
|
|
|
|
}) {
|
|
|
|
}) {
|
|
|
|
Text("Cancel")
|
|
|
|
Text("Cancel")
|
|
|
|
.foregroundColor(.white)
|
|
|
|
.foregroundColor(Colors.TextButton)
|
|
|
|
.padding()
|
|
|
|
.padding()
|
|
|
|
.background(Color.red)
|
|
|
|
.background(Colors.Button)
|
|
|
|
.cornerRadius(10)
|
|
|
|
.cornerRadius(10)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.padding()
|
|
|
|
.padding()
|
|
|
|
.frame(maxWidth: 300)
|
|
|
|
.frame(maxWidth: 300)
|
|
|
|
.background(Color.white)
|
|
|
|
.background(Colors.PopupBackground)
|
|
|
|
.cornerRadius(20)
|
|
|
|
.cornerRadius(20)
|
|
|
|
.shadow(radius: 10)
|
|
|
|
.shadow(radius: 10)
|
|
|
|
.alert(isPresented: $showAlert) {
|
|
|
|
.alert(isPresented: $showAlert) {
|
|
|
|