diff --git a/nahbar/nahbar/PersonDetailView.swift b/nahbar/nahbar/PersonDetailView.swift index ff8d87e..c534a68 100644 --- a/nahbar/nahbar/PersonDetailView.swift +++ b/nahbar/nahbar/PersonDetailView.swift @@ -51,9 +51,16 @@ struct PersonDetailView: View { .themedNavBar() .toolbar { ToolbarItem(placement: .topBarTrailing) { - Button("Bearbeiten") { showingEditPerson = true } - .font(.system(size: 15)) - .foregroundStyle(theme.accent) + HStack(spacing: 16) { + NavigationLink(destination: LogbuchView(person: person)) { + Image(systemName: "book.closed") + .font(.system(size: 15)) + .foregroundStyle(theme.accent) + } + Button("Bearbeiten") { showingEditPerson = true } + .font(.system(size: 15)) + .foregroundStyle(theme.accent) + } } } .sheet(isPresented: $showingAddTodo) {