From a271314f15c30f59d84296a12aab280eda2d3c64 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Wed, 27 Dec 2023 13:37:21 -0500 Subject: Pad item info text when view is horizontal --- Jel/Views/Dashboard/DashboardView.swift | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'Jel/Views/Dashboard/DashboardView.swift') diff --git a/Jel/Views/Dashboard/DashboardView.swift b/Jel/Views/Dashboard/DashboardView.swift index b3c223b..279f056 100644 --- a/Jel/Views/Dashboard/DashboardView.swift +++ b/Jel/Views/Dashboard/DashboardView.swift @@ -12,12 +12,27 @@ struct DashboardView: View { @State var showingSettingsSheet: Bool = false var body: some View { - VStack { - NavigationStack { - DashboardLibraryView() - .navigationTitle("Home") + ScrollView { + LazyVStack { + Section { + NavigationStack { + DashboardLibraryView() + } + } header: { + DashboardSectionTitleView("Libraries") + } + + Section { + NavigationStack { + DashboardLibraryView() + } + } header: { + DashboardSectionTitleView("Next up") + } } + .padding() } + .navigationTitle("Home") .toolbar { ToolbarItem(placement: .topBarTrailing) { Button { -- cgit v1.2.3