Skip to content

Commit b2786f2

Browse files
committed
add dark preview provider
1 parent 1e4e90c commit b2786f2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

WooCommerce/Classes/Authentication/Epilogue/StorePickerError.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,13 @@ struct StorePickerError_Preview: PreviewProvider {
9090
.padding()
9191
.background(Color.gray)
9292
.previewLayout(.sizeThatFits)
93+
94+
VStack {
95+
StorePickerError()
96+
}
97+
.padding()
98+
.background(Color.gray)
99+
.environment(\.colorScheme, .dark)
100+
.previewLayout(.sizeThatFits)
93101
}
94102
}

0 commit comments

Comments
 (0)