feat(can-charge): 이롬넷(Payverse) 통합결제 추가
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
import SwiftUI
|
||||
|
||||
struct ContentView: View {
|
||||
@ObservedObject var canPgPaymentViewModel: CanPgPaymentViewModel
|
||||
@StateObject private var appState = AppState.shared
|
||||
|
||||
@State private var isShowDialog = false
|
||||
@@ -86,6 +87,7 @@ struct ContentView: View {
|
||||
|
||||
case .canPgPayment(let canResponse, let refresh, let afterCompletionToGoBack):
|
||||
CanPgPaymentView(canResponse: canResponse, refresh: refresh, afterCompletionToGoBack: afterCompletionToGoBack)
|
||||
.environmentObject(canPgPaymentViewModel)
|
||||
|
||||
case .liveReservation:
|
||||
LiveReservationStatusView()
|
||||
@@ -304,6 +306,6 @@ struct ContentView: View {
|
||||
|
||||
struct ContentView_Previews: PreviewProvider {
|
||||
static var previews: some View {
|
||||
ContentView()
|
||||
ContentView(canPgPaymentViewModel: CanPgPaymentViewModel())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user