From 0b6bcbc66816a6e9643be7fc5e1498e12243c43a Mon Sep 17 00:00:00 2001 From: Paolo Musolino Date: Fri, 4 Oct 2024 17:37:51 +0200 Subject: [PATCH 1/2] Update `TopPerformersDashboardView` layout and styling: add a Divider for visual separation --- .../Dashboard/TopPerformers/TopPerformersDashboardView.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WooCommerce/Classes/ViewRelated/Dashboard/TopPerformers/TopPerformersDashboardView.swift b/WooCommerce/Classes/ViewRelated/Dashboard/TopPerformers/TopPerformersDashboardView.swift index 09748de0d63..491439b9c60 100644 --- a/WooCommerce/Classes/ViewRelated/Dashboard/TopPerformers/TopPerformersDashboardView.swift +++ b/WooCommerce/Classes/ViewRelated/Dashboard/TopPerformers/TopPerformersDashboardView.swift @@ -53,6 +53,9 @@ struct TopPerformersDashboardView: View { .redacted(reason: viewModel.periodViewModel.redacted.rows ? [.placeholder] : []) .shimmering(active: viewModel.periodViewModel.redacted.rows) + Divider() + .padding(.leading, Layout.padding) + viewAllAnalyticsButton .padding(.horizontal, Layout.padding) .redacted(reason: viewModel.periodViewModel.redacted.actionButton ? [.placeholder] : []) From bf1eb765bb8975e80e53fea8f1bca7cd9ce75150 Mon Sep 17 00:00:00 2001 From: Paolo Musolino Date: Fri, 4 Oct 2024 17:45:50 +0200 Subject: [PATCH 2/2] fix: wrong space --- .../Dashboard/TopPerformers/TopPerformersDashboardView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WooCommerce/Classes/ViewRelated/Dashboard/TopPerformers/TopPerformersDashboardView.swift b/WooCommerce/Classes/ViewRelated/Dashboard/TopPerformers/TopPerformersDashboardView.swift index 491439b9c60..3c2c2e77b89 100644 --- a/WooCommerce/Classes/ViewRelated/Dashboard/TopPerformers/TopPerformersDashboardView.swift +++ b/WooCommerce/Classes/ViewRelated/Dashboard/TopPerformers/TopPerformersDashboardView.swift @@ -55,7 +55,7 @@ struct TopPerformersDashboardView: View { Divider() .padding(.leading, Layout.padding) - + viewAllAnalyticsButton .padding(.horizontal, Layout.padding) .redacted(reason: viewModel.periodViewModel.redacted.actionButton ? [.placeholder] : [])