Skip to content

Commit

Permalink
[refactor] 不要なフラグとコメントを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
mrs1669 committed May 31, 2024
1 parent 0796b5b commit c402d9d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions PrimePickApp/View/Quiz/QuizButtonView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ struct QuizButtonView: View {
@Binding var correctQuizNumber: Int
@Binding var quizIndex: Int
@Binding var isPresentedResult: Bool
@State private var showAlert = false

var body: some View {
ZStack {
Expand All @@ -21,7 +20,6 @@ struct QuizButtonView: View {

quizButton(option: "Incorrect")
.onTapGesture {
print("")
if !isPresentedResult {
if !quizData[quizIndex].isCorrect {
print("正解")
Expand All @@ -41,7 +39,6 @@ struct QuizButtonView: View {

quizButton(option: "Correct")
.onTapGesture {
print("")
if !isPresentedResult {
if quizData[quizIndex].isCorrect {
print("正解")
Expand Down

0 comments on commit c402d9d

Please sign in to comment.