Fix: Absturz beim Entfernen von Teams (Bindings per ID); Matchday nur per Schalter (Einstellungen, Bild-Menü ⌘⌥M, Trikot-Erkennung); Ereignis/Datum vom aktuellen Bild; 'Spieler:innen'
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012bGzgsxrmbBhDzeMV2L57D
This commit is contained in:
1 parent
cea5decdb6
commit
2989e51553
7 files changed
+60
-23
No files matched your search
@@ -39,7 +39,7 @@ struct MatchdayHeader: View {
|
||||
ForEach(teams) { t in
|
||||
chip(t.name, color: t.shirtColor.swiftUI, on: state.filter.team == t.id) { state.setTeamFilter(t.id) }
|
||||
}
|
||||
chip("Ohne Spielerin", on: state.filter.withoutPlayer) {
|
||||
chip("Ohne Spieler:in", on: state.filter.withoutPlayer) {
|
||||
state.setTeamFilter(nil); state.filter.withoutPlayer = true
|
||||
}
|
||||
if let p = state.filter.person {
|
||||
@@ -85,7 +85,7 @@ struct MatchdayHeader: View {
|
||||
let open = state.items.filter { !state.openSuggestions(for: $0.id).isEmpty }.count
|
||||
return HStack(spacing: 18) {
|
||||
counter(tagged, "GETAGGT", highlight: true)
|
||||
counter(withPlayer, "MIT SPIELERIN")
|
||||
counter(withPlayer, "MIT SPIELER:IN")
|
||||
counter(open, "OFFEN")
|
||||
}
|
||||
}
|
||||
@@ -121,7 +121,7 @@ struct MatchdayPlayerList: View {
|
||||
ScrollView {
|
||||
VStack(alignment: .leading, spacing: 2) {
|
||||
if players.isEmpty {
|
||||
Text("Noch keine Spielerinnen – Nummern erkennen (⌘⇧J) oder Vorschläge annehmen.")
|
||||
Text("Noch keine Spieler:innen – Nummern erkennen (⌘⇧J) oder Vorschläge annehmen.")
|
||||
.font(.system(size: 12)).foregroundStyle(LK.muted).padding(.horizontal, 16)
|
||||
}
|
||||
ForEach(players) { p in
|
||||
|
||||
Reference in new issue
Block a user