Navigation angepasst, Absprung in angetippten song.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user