commit 17d2e12bd21ff0e42a98db527e0cceb33aa8befc
parent 5ffc9475d403bbdec73a447d687e15f602bc10a2
Author: Michael Camilleri <[email protected]>
Date: Tue, 14 Apr 2026 20:59:05 +0900
Remove Crossmate heading
Diffstat:
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/Crossmate/Views/GameListView.swift b/Crossmate/Views/GameListView.swift
@@ -29,7 +29,7 @@ struct GameListView: View {
let completed = games.filter { $0.completedAt != nil }
if !inProgress.isEmpty {
- Section("In Progress") {
+ Section {
ForEach(inProgress) { game in
GameRowView(game: game, onResume: {
navigationPath.append(game.id)
@@ -48,11 +48,13 @@ struct GameListView: View {
}
}
}
+ } header: {
+ Text("In Progress")
}
}
if !completed.isEmpty {
- Section("Completed") {
+ Section {
ForEach(completed) { game in
GameRowView(game: game, onResume: {
navigationPath.append(game.id)
@@ -71,12 +73,15 @@ struct GameListView: View {
}
}
}
+ } header: {
+ Text("Completed")
}
}
}
}
}
- .navigationTitle("Crossmate")
+ .navigationTitle("")
+ .navigationBarTitleDisplayMode(.inline)
.toolbar {
ToolbarItem(placement: .topBarLeading) {
Button {