diff options
author | Shav Kinderlehrer <[email protected]> | 2023-12-27 13:37:21 -0500 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-12-27 18:11:33 -0500 |
commit | a271314f15c30f59d84296a12aab280eda2d3c64 (patch) | |
tree | 6086a272edfaeda72d4728cdd2f3f17fdf738659 /Jel/Views/Dashboard/DashboardView.swift | |
parent | b7a1bd1d558eb954968668b8d69358d4d9faaa23 (diff) | |
download | jel-a271314f15c30f59d84296a12aab280eda2d3c64.tar.gz jel-a271314f15c30f59d84296a12aab280eda2d3c64.zip |
Pad item info text when view is horizontal
Diffstat (limited to 'Jel/Views/Dashboard/DashboardView.swift')
-rw-r--r-- | Jel/Views/Dashboard/DashboardView.swift | 23 |
1 files changed, 19 insertions, 4 deletions
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 { |