Tagebuch: Detail-Ansicht + tappbare Listen-Zeilen
DiaryDetailView mit Header (Datum, Meilenstein-Badge, Ort), Foto-
Galerie als TabView mit Page-Indicator, Volltext, Tags als Chips,
Mini-Karte für GPS-Eintrag mit Tap nach Apple Maps, und 'Eintrag
löschen' mit Bestätigungs-Alert → DELETE /api/dogs/{id}/diary/{eid}.
Liste in TagebuchView jetzt mit NavigationLink statt nur Anzeige.
App-Store-Material:
- AppStore/marketing.md mit Name, Untertitel, Beschreibung 2700
Zeichen, Keywords, Privacy-Antworten, Reviewer-Notiz
- AppStore/screenshots/ — 8 Stück 1320x2868 (iPhone 17 Pro Max 6.9'')
This commit is contained in:
parent
7848817cbe
commit
89d1d47ca4
11 changed files with 491 additions and 2 deletions
|
|
@ -50,9 +50,15 @@ struct TagebuchView: View {
|
|||
systemImage: "book",
|
||||
description: Text("Tippe oben rechts auf +, um deinen ersten Eintrag anzulegen.")
|
||||
)
|
||||
} else {
|
||||
} else if let dog = activeDog.activeDog {
|
||||
List(entries) { entry in
|
||||
DiaryRow(entry: entry)
|
||||
NavigationLink {
|
||||
DiaryDetailView(dogId: dog.id, entry: entry) {
|
||||
await load()
|
||||
}
|
||||
} label: {
|
||||
DiaryRow(entry: entry)
|
||||
}
|
||||
}
|
||||
.listStyle(.plain)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue