diff --git a/PingPong/Projects/App/Support/Info.plist b/PingPong/Projects/App/Support/Info.plist index aa70628e..64ecc595 100644 --- a/PingPong/Projects/App/Support/Info.plist +++ b/PingPong/Projects/App/Support/Info.plist @@ -30,7 +30,7 @@ CFBundleVersion - 13 + 16 FirebaseAppDelegateProxyEnabled INIntentsSupported diff --git a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceBreadView.swift b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceBreadView.swift index a9f686c4..73225c0a 100644 --- a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceBreadView.swift +++ b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceBreadView.swift @@ -145,10 +145,10 @@ public struct ChoiceBreadView: View { Text("다음") .foregroundColor(viewModel.tmpChoicedBread == nil ? .basicGray5 : .basicWhite) .font(.system(size: 16)) - .onTapGesture { - appState.isChoicedBread.toggle() - viewModel.choicedBread = viewModel.tmpChoicedBread - } + } + .onTapGesture { + appState.isChoicedBread.toggle() + viewModel.choicedBread = viewModel.tmpChoicedBread } .disabled(viewModel.tmpChoicedBread == nil) } diff --git a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceIngredentView.swift b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceIngredentView.swift index 58a87824..7e888b64 100644 --- a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceIngredentView.swift +++ b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceIngredentView.swift @@ -153,10 +153,10 @@ public struct ChoiceIngredentView: View { Text("다음") .foregroundColor(viewModel.tmpChoicedIngredent == nil ? .basicGray5 : .basicWhite) .font(.system(size: 16)) - .onTapGesture { - appState.isChoicedIngredent.toggle() - viewModel.choicedIngredent = viewModel.tmpChoicedIngredent - } + } + .onTapGesture { + appState.isChoicedIngredent.toggle() + viewModel.choicedIngredent = viewModel.tmpChoicedIngredent } .disabled(viewModel.tmpChoicedIngredent == nil) } diff --git a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceToppingView.swift b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceToppingView.swift index 8b7410e0..c3a70559 100644 --- a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceToppingView.swift +++ b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/ChoiceToppingView.swift @@ -145,10 +145,10 @@ public struct ChoiceToppingView: View { Text("다음") .foregroundColor(viewModel.tmpChoicedTopping == nil ? .basicGray5 : .basicWhite) .font(.system(size: 16)) - .onTapGesture { - appState.isChoicedTopping.toggle() - viewModel.choicedTopping = viewModel.tmpChoicedTopping - } + } + .onTapGesture { + appState.isChoicedTopping.toggle() + viewModel.choicedTopping = viewModel.tmpChoicedTopping } .disabled(viewModel.tmpChoicedTopping == nil) } diff --git a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/FamousSayingBakeCardView.swift b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/FamousSayingBakeCardView.swift index 5782746a..d6e94ff1 100644 --- a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/FamousSayingBakeCardView.swift +++ b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/FamousSayingBakeCardView.swift @@ -61,10 +61,6 @@ struct FamousSayingBakeCardView: View { self.viewModel.tmpChoicedTopping = nil } .task { -// await bakeViewModel.bakeQuoteRequest(userId: "\(authViewModel.userid)", -// flavor: (viewModel.selectFlavor?.type.english) ?? "", -// source: (viewModel.selectSource?.type.english) ?? "", -// mood: (viewModel.selectMood?.type.english) ?? "") authViewModel.searchUserIdRequest(uid: "\(authViewModel.userid)") } .onDisappear { diff --git a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/HomeBakingView.swift b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/HomeBakingView.swift index f287437a..9e5dcc7f 100644 --- a/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/HomeBakingView.swift +++ b/PingPong/Projects/Feature/Bake/Sources/UI/HomeBakingView/HomeBakingView.swift @@ -104,12 +104,13 @@ public struct HomeBakingView: View { .overlay { Text("시작하기") .foregroundColor(.basicWhite) - .onTapGesture { - viewModel.choicedBread = nil - viewModel.choicedIngredent = nil - viewModel.tmpChoicedIngredent = nil - appState.isStartBake.toggle() - } + + } + .onTapGesture { + viewModel.choicedBread = nil + viewModel.choicedIngredent = nil + viewModel.tmpChoicedIngredent = nil + appState.isStartBake.toggle() } RoundedRectangle(cornerRadius: 10) .foregroundColor(.clear)