Add SwiftLint rule to enforce stack spacing. (#2080)

Xcode 15 changes the default behaviour and given we're always working from designs, we shouldn't rely on it for our layout.
This commit is contained in:
Doug
2023-11-14 12:38:38 +00:00
committed by GitHub
parent 2c33f9c5d5
commit 052db0d1f0
123 changed files with 289 additions and 293 deletions

View File

@@ -137,7 +137,7 @@ private struct CreatePollOptionView: View {
let deleteAction: () -> Void
var body: some View {
HStack {
HStack(spacing: 8) {
if editMode?.wrappedValue == .active {
Button(role: .destructive, action: deleteAction) {
CompoundIcon(\.delete)