Skip to content

Commit

Permalink
๐Ÿช›[chore]: ๋ฒ„ํŠผ ์˜์—ญ ์ˆ˜์ •
Browse files Browse the repository at this point in the history
  • Loading branch information
Roy-wonji committed Dec 6, 2023
1 parent 2ba896f commit 5fffa35
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 23 deletions.
2 changes: 1 addition & 1 deletion PingPong/Projects/App/Support/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>13</string>
<string>16</string>
<key>FirebaseAppDelegateProxyEnabled</key>
<true/>
<key>INIntentsSupported</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5fffa35

Please sign in to comment.