we can scroll now!
This commit is contained in:
parent
92acfab287
commit
fc7b0efc4c
|
@ -125,6 +125,7 @@ struct LibrarySearchView: View {
|
|||
.foregroundColor(Color.secondary)
|
||||
.textFieldStyle(RoundedBorderTextFieldStyle())
|
||||
LoadingView(isShowing: $isLoading) {
|
||||
ScrollView(.vertical) {
|
||||
LazyVGrid(columns: tracks) {
|
||||
ForEach(items, id: \.Id) { item in
|
||||
Button() {
|
||||
|
@ -191,6 +192,7 @@ struct LibrarySearchView: View {
|
|||
recalcTracks()
|
||||
}
|
||||
}
|
||||
}
|
||||
}.onAppear(perform: onAppear)
|
||||
.navigationBarTitle("Search", displayMode: .inline)
|
||||
}
|
||||
|
|
|
@ -91,6 +91,7 @@ struct SeriesItemView: View {
|
|||
|
||||
var body: some View {
|
||||
LoadingView(isShowing: $isLoading) {
|
||||
ScrollView(.vertical) {
|
||||
LazyVGrid(columns: tracks) {
|
||||
ForEach(items, id: \.Id) { item in
|
||||
NavigationLink(destination: ItemView(item: item )) {
|
||||
|
@ -142,6 +143,7 @@ struct SeriesItemView: View {
|
|||
recalcTracks()
|
||||
}
|
||||
}
|
||||
}
|
||||
.overrideViewPreference(.unspecified)
|
||||
.onAppear(perform: onAppear)
|
||||
.navigationTitle(item.Name)
|
||||
|
|
Loading…
Reference in New Issue