Skip to content

Commit

Permalink
fix: Improve UI
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinperignon committed Jun 20, 2023
1 parent e92070d commit 6882056
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Mail/Components/UnknownRecipientView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ import SwiftUI
struct UnknownRecipientView: View {
let size: CGFloat

static let imagePadding: CGFloat = 8

private var iconSize: CGFloat {
return size - 2 * UIConstants.unknownRecipientHorizontalPadding
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ struct AttachmentsHeaderView: View {
}
}
.padding(.vertical, 1)
.padding(.horizontal, 16)
}
.padding(.horizontal, 16)
}
}
.customAlert(item: $attachmentsManager.globalError) { error in
Expand Down
2 changes: 1 addition & 1 deletion Mail/Views/New Message/ComposeMessageBodyView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ struct ComposeMessageBodyView: View {
)
.ignoresSafeArea(.all, edges: .bottom)
.frame(height: editorModel.height + 20)
.padding([.vertical], 8)
.padding(.vertical, 8)
}
.task {
await prepareCompleteDraft()
Expand Down

0 comments on commit 6882056

Please sign in to comment.