You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.5 KiB
52 lines
1.5 KiB
//
|
|
// ToolboxView.swift
|
|
// PadelClub
|
|
//
|
|
// Created by Razmig Sarkissian on 29/02/2024.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct ToolboxView: View {
|
|
var body: some View {
|
|
NavigationStack {
|
|
List {
|
|
Section {
|
|
NavigationLink {
|
|
SelectablePlayerListView()
|
|
} label: {
|
|
Label("Rechercher un joueur", systemImage: "person.fill.viewfinder")
|
|
}
|
|
}
|
|
|
|
Section {
|
|
NavigationLink {
|
|
RankCalculatorView()
|
|
} label: {
|
|
Label("Calculateur de points", systemImage: "scalemass")
|
|
}
|
|
}
|
|
|
|
Section {
|
|
NavigationLink {
|
|
GlobalSettingsView()
|
|
} label: {
|
|
Label("Formats de jeu par défaut", systemImage: "megaphone")
|
|
}
|
|
NavigationLink {
|
|
DurationSettingsView()
|
|
} label: {
|
|
Label("Définir les durées moyennes", systemImage: "deskclock")
|
|
}
|
|
} footer: {
|
|
Text("Vous pouvez définir vos propores estimations de durées de match en fonction du format de jeu.")
|
|
}
|
|
}
|
|
.navigationTitle(TabDestination.toolbox.title)
|
|
}
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
ToolboxView()
|
|
}
|
|
|