Update QuizView.swift

Made bubbles less bubbly. Cheers!
This commit is contained in:
Justin Oros
2025-07-03 11:54:33 -07:00
committed by GitHub
parent 5420fd0f9a
commit 549a72b498
@@ -52,7 +52,7 @@ struct QuizView: View {
.padding(10) .padding(10)
.frame(maxWidth: .infinity, alignment: .leading) .frame(maxWidth: .infinity, alignment: .leading)
.background( .background(
Capsule() RoundedRectangle(cornerRadius: 10)
.fill(bubbleColor(for: answer)) .fill(bubbleColor(for: answer))
) )
.foregroundColor(.white) .foregroundColor(.white)
@@ -64,18 +64,18 @@ struct QuizView: View {
.foregroundColor(feedbackColor) .foregroundColor(feedbackColor)
HStack { HStack {
Button("Quit") {
showSummaryAlert = true
}
.tint(Color.gray)
Spacer()
Button("Next") { Button("Next") {
nextQuestion() nextQuestion()
} }
.disabled(selectedAnswer == nil) .disabled(selectedAnswer == nil)
.tint(Color.blue) .tint(Color.blue)
Spacer()
Button("Quit") {
showSummaryAlert = true
}
.tint(Color.gray)
} }
.padding(.top, 10) .padding(.top, 10)