Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion SportApp/HomeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ struct HomeView: View {
.tabItem {
Label("Профиль", systemImage: "person.crop.circle")
}

.tag(2)
}
}
Expand Down
7 changes: 7 additions & 0 deletions SportApp/Statistics/Model/DTO/ReggedDTO.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//
// ReggedDTO.swift
// SportApp
//
// Created by user on 11.07.2025.
//

14 changes: 14 additions & 0 deletions SportApp/Statistics/View/StatisticsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,17 @@
// Created by user on 11.07.2025.
//

import SwiftUI

struct StatisticsView: View {
@EnvironmentObject var coordinator: Coordinator

var body: some View {
if coordinator.user.isAdmin == true {

}
ScrollView{

}
}
}
16 changes: 16 additions & 0 deletions SportApp/Statistics/ViewModel/StatisticsViewModel.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// StatisticsViewModel.swift
// SportApp
//
// Created by user on 11.07.2025.
//

import Combine
import Foundation

@MainActor
class StatisticsViewModel: ObservableObject {
@Published var tournirs: [ReggedDTO] = []


}
Loading