Resolves #16 Logbuch-Button immer sichtbar in PersonDetailView

"Alle"-Link im Verlauf-Header zeigt LogbuchView unabhängig von der
Eintragsanzahl (vorher nur bei >5 Einträgen sichtbar).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-22 05:27:24 +02:00
parent 9a429f11a6
commit 66a7b23f5a
+5
View File
@@ -273,6 +273,11 @@ struct PersonDetailView: View {
HStack { HStack {
SectionHeader(title: "Verlauf", icon: "book.closed") SectionHeader(title: "Verlauf", icon: "book.closed")
Spacer() Spacer()
NavigationLink(destination: LogbuchView(person: person)) {
Text("Alle")
.font(.system(size: 13))
.foregroundStyle(theme.accent)
}
} }
VStack(spacing: 0) { VStack(spacing: 0) {