From 8b996004b7da758b4b60debc6e260c47bc94e1f3 Mon Sep 17 00:00:00 2001 From: Ahmed Harmouche Date: Sat, 5 Sep 2026 12:06:37 +0200 Subject: [PATCH] [ios] Fix home screen not scrolling in landscape --- dashpilot-ios/dashpilot/UI/HomeView.swift | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/dashpilot-ios/dashpilot/UI/HomeView.swift b/dashpilot-ios/dashpilot/UI/HomeView.swift index 7f9f7d9..d7a38f4 100644 --- a/dashpilot-ios/dashpilot/UI/HomeView.swift +++ b/dashpilot-ios/dashpilot/UI/HomeView.swift @@ -16,18 +16,19 @@ struct HomeView: View { Color.dashBackground .ignoresSafeArea() - VStack(spacing: 0) { - header - Spacer().frame(height: 8) - widgetGrid - Spacer().frame(height: 32) - pinnedSection - actionButtons - Spacer().frame(height: 12) - DataSourceMenu(navigationPath: $navigationPath) - Spacer() + ScrollView { + VStack(spacing: 0) { + header + Spacer().frame(height: 8) + widgetGrid + Spacer().frame(height: 32) + pinnedSection + actionButtons + Spacer().frame(height: 12) + DataSourceMenu(navigationPath: $navigationPath) + } + .padding(DashMetrics.screenPadding) } - .padding(DashMetrics.screenPadding) } .navigationBarHidden(true) .task {