some fixes
This commit is contained in:
@@ -9,17 +9,15 @@ import SwiftUI
|
||||
|
||||
struct GameSelection: View {
|
||||
var body: some View {
|
||||
NavigationSplitView {
|
||||
NavigationView {
|
||||
List(games) { game in
|
||||
NavigationLink {
|
||||
GameView(game)
|
||||
} label: {
|
||||
GameRow(game)
|
||||
NavigationLink(destination: GameView(game)) {
|
||||
ZStack {
|
||||
GameRow(game)
|
||||
}
|
||||
}
|
||||
}
|
||||
.navigationTitle("Games")
|
||||
} detail: {
|
||||
Text("Select a game")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user