Update: navigation

master
Nathan VERDIER 10 months ago
parent a951fff464
commit 62ce99ebda

@ -6,6 +6,7 @@
//
import SwiftUI
import DouShouQiModel
struct MainMenuView: View {
@ -69,7 +70,7 @@ struct MainMenuView: View {
SettingsView()
}
.navigationDestination(isPresented: $showARKit) {
ARKitUIViewBoard(aRKitViewRepresentable: ARKitViewRepresentable())
ARKitUIViewRepresentable(aRKitView: ARKitView(playingGameVM: PlayingGameVM(withRules: ClassicRules(), andPlayer1: HumanPlayer(withName: "Player 1", andId: .player1)!, andPlayer2: HumanPlayer(withName: "Player 2", andId: .player2)!)!))
}
if let currentImage = currentImage {

Loading…
Cancel
Save