From 9c021a00ce2f47b67ff302f6b34b97ade42a36f5 Mon Sep 17 00:00:00 2001 From: Elena Willen Date: Wed, 6 Mar 2024 11:09:43 +0100 Subject: [PATCH] fix: Update padding following changes on Figma --- .../New Message/Select Mailbox/AccountMailboxesListView.swift | 4 ++-- .../New Message/Select Mailbox/SelectComposeMailboxView.swift | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Mail/Views/New Message/Select Mailbox/AccountMailboxesListView.swift b/Mail/Views/New Message/Select Mailbox/AccountMailboxesListView.swift index d04e22fd44..2395b7e957 100644 --- a/Mail/Views/New Message/Select Mailbox/AccountMailboxesListView.swift +++ b/Mail/Views/New Message/Select Mailbox/AccountMailboxesListView.swift @@ -55,8 +55,8 @@ struct AccountMailboxesListView: View { ChevronIcon(direction: .down) } - .padding([.leading, .vertical], value: .small) - .padding(.trailing, value: .regular) + .padding(.vertical, value: .small) + .padding(.horizontal, value: .regular) .overlay { RoundedRectangle(cornerRadius: 8) .stroke(MailResourcesAsset.elementsColor.swiftUIColor, lineWidth: 1) diff --git a/Mail/Views/New Message/Select Mailbox/SelectComposeMailboxView.swift b/Mail/Views/New Message/Select Mailbox/SelectComposeMailboxView.swift index 859920e0ce..dcaf1f9cf7 100644 --- a/Mail/Views/New Message/Select Mailbox/SelectComposeMailboxView.swift +++ b/Mail/Views/New Message/Select Mailbox/SelectComposeMailboxView.swift @@ -52,7 +52,6 @@ struct SelectComposeMailboxView: View { selectedMailbox: viewModel.selectedMailbox, selectMailbox: viewModel.selectMailbox ) - .padding(.bottom, value: .regular) } }