Skip to content

Commit 52c1024

Browse files
committed
StoreCreationPlanView: update the preferred color theme using environment modifier.
1 parent d6d3eaf commit 52c1024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/Classes/Authentication/Store Creation/Plan/StoreCreationPlanView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ struct StoreCreationPlanView: View {
154154
}
155155
.background(Color(.withColorStudio(.wooCommercePurple, shade: .shade90)))
156156
// This screen is using the dark theme for both light and dark modes.
157-
.preferredColorScheme(.dark)
157+
.environment(\.colorScheme, .dark)
158158
}
159159
}
160160

0 commit comments

Comments
 (0)