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:
@@ -102,7 +102,7 @@ private struct PINDigitField: View {
|
||||
|
||||
struct PINTextField_Previews: PreviewProvider, TestablePreview {
|
||||
static var previews: some View {
|
||||
VStack {
|
||||
VStack(spacing: 8) {
|
||||
PreviewWrapper(pinCode: "", isSecure: false)
|
||||
PreviewWrapper(pinCode: "12", isSecure: false)
|
||||
PreviewWrapper(pinCode: "1234", isSecure: false)
|
||||
|
||||
Reference in New Issue
Block a user