summaryrefslogtreecommitdiff
path: root/Jel/Views/Dashboard
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-12-23 14:15:01 -0500
committerShav Kinderlehrer <[email protected]>2023-12-23 14:15:01 -0500
commit53bdc33ac7e97e1c51dd27c8cb1943c7608b49d6 (patch)
tree8a34198d0865d745333a2b12e068d2bcbdb1db18 /Jel/Views/Dashboard
parenta25acb1219d506351717edef8ad728abcdaf50f9 (diff)
downloadjel-53bdc33ac7e97e1c51dd27c8cb1943c7608b49d6.tar.gz
jel-53bdc33ac7e97e1c51dd27c8cb1943c7608b49d6.zip
Use Nuke to load images + start movieView
Diffstat (limited to 'Jel/Views/Dashboard')
-rw-r--r--Jel/Views/Dashboard/DashboardLibraryView.swift2
-rw-r--r--Jel/Views/Dashboard/DashboardView.swift1
2 files changed, 2 insertions, 1 deletions
diff --git a/Jel/Views/Dashboard/DashboardLibraryView.swift b/Jel/Views/Dashboard/DashboardLibraryView.swift
index 00f0e68..2e0cd0e 100644
--- a/Jel/Views/Dashboard/DashboardLibraryView.swift
+++ b/Jel/Views/Dashboard/DashboardLibraryView.swift
@@ -21,7 +21,7 @@ struct DashboardLibraryView: View {
.progressViewStyle(.circular)
}
ScrollView(.horizontal, showsIndicators: false) {
- HStack {
+ LazyHStack {
ForEach(libraries) {library in
if library.collectionType == "movies" || library.collectionType == "tvshows" {
NavigationLink {
diff --git a/Jel/Views/Dashboard/DashboardView.swift b/Jel/Views/Dashboard/DashboardView.swift
index 50d3538..a29d2f5 100644
--- a/Jel/Views/Dashboard/DashboardView.swift
+++ b/Jel/Views/Dashboard/DashboardView.swift
@@ -16,6 +16,7 @@ struct DashboardView: View {
VStack {
DashboardLibraryView()
}
+ .navigationTitle("Home")
.toolbar {
ToolbarItem(placement: .topBarTrailing) {
Button {