Navigation angepasst, Absprung in angetippten song.

This commit is contained in:
2026-04-07 12:57:24 +02:00
parent 040917479e
commit fe3ed1e204
9 changed files with 361 additions and 4 deletions
@@ -18,6 +18,7 @@ struct ArtistDetailView: View {
@State private var showError = false
@State private var kenBurnsScale: CGFloat = 1.0
@State private var isBiographyExpanded = false
@State private var scrollPositionAlbumID: String? = nil
var body: some View {
ZStack {
@@ -52,6 +53,7 @@ struct ArtistDetailView: View {
}
}
}
.scrollPosition(id: $scrollPositionAlbumID)
}
.navigationTitle(artist.name)
.navigationBarTitleDisplayMode(.inline)
@@ -182,6 +184,7 @@ struct ArtistDetailView: View {
.buttonStyle(.plain)
}
}
.scrollTargetLayout()
.padding(.horizontal)
.padding(.bottom, 24)
}