From 4f3768ea2ebcce9fd9b9bed52a309841c0a2731e Mon Sep 17 00:00:00 2001 From: Huong Do Date: Fri, 27 Sep 2024 13:04:05 +0700 Subject: [PATCH] Fix indentation on LegacyProductDetailPreviewView --- .../Preview/LegacyProductDetailPreviewView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WooCommerce/Classes/ViewRelated/Products/Add Product/AddProductWithAI/Preview/LegacyProductDetailPreviewView.swift b/WooCommerce/Classes/ViewRelated/Products/Add Product/AddProductWithAI/Preview/LegacyProductDetailPreviewView.swift index 4c668bfbd80..074ed362848 100644 --- a/WooCommerce/Classes/ViewRelated/Products/Add Product/AddProductWithAI/Preview/LegacyProductDetailPreviewView.swift +++ b/WooCommerce/Classes/ViewRelated/Products/Add Product/AddProductWithAI/Preview/LegacyProductDetailPreviewView.swift @@ -109,9 +109,9 @@ struct LegacyProductDetailPreviewView: View { // Feedback banner FeedbackView(configuration: .init(title: Localization.feedbackQuestion, - backgroundColor: .init(uiColor: .init(light: .withColorStudio(.wooCommercePurple, shade: .shade0), - dark: .tertiarySystemBackground)), - onVote: { vote in + backgroundColor: .init(uiColor: .init(light: .withColorStudio(.wooCommercePurple, shade: .shade0), + dark: .tertiarySystemBackground)), + onVote: { vote in withAnimation { viewModel.handleFeedback(vote) }