Squash
This commit is contained in:
23
Clemens Playground/Screens/GameSelection.swift
Normal file
23
Clemens Playground/Screens/GameSelection.swift
Normal file
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// GameSelection.swift
|
||||
// Clemens Playground
|
||||
//
|
||||
// Created by Maximilian Roider on 14.11.25.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct GameSelection: View {
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
List(games) { game in
|
||||
NavigationLink(destination: GameView(game)) {
|
||||
ZStack {
|
||||
GameRow(game)
|
||||
}
|
||||
}
|
||||
}
|
||||
.navigationTitle("Games")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user