File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
WooCommerce/Classes/ViewRelated/Blaze/CampaignCreation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -324,18 +324,19 @@ private extension BlazeCampaignCreationForm {
324324 radius: Layout . shadowRadius,
325325 x: 0 ,
326326 y: Layout . shadowYOffset)
327+ . environment ( \. colorScheme, . light)
327328
328329 VStack ( spacing: Layout . contentPadding) {
329330 // Label "Suggested by AI"
330331 HStack ( spacing: 0 ) {
331332 Image ( uiImage: . sparklesImage)
332333 . renderingMode ( . template)
333334 . resizable ( )
334- . foregroundColor ( colorScheme == . dark ? Color ( . textInverted ) : Color ( . textSubtle) )
335+ . foregroundColor ( Color ( . textSubtle) )
335336 . frame ( width: Layout . sparkleIconSize * scale, height: Layout . sparkleIconSize * scale)
336337
337338 Text ( Localization . suggestedByAI)
338- . foregroundColor ( colorScheme == . dark ? Color ( . textInverted ) : Color ( . textSubtle) )
339+ . foregroundColor ( Color ( . textSubtle) )
339340 . subheadlineStyle ( )
340341
341342 Spacer ( )
@@ -357,7 +358,6 @@ private extension BlazeCampaignCreationForm {
357358 . shimmering ( active: !viewModel. canEditAd)
358359 }
359360 }
360- . environment ( \. colorScheme, . light)
361361 . padding ( Layout . contentPadding)
362362 . background ( Color ( light: . init( uiColor: . systemGray6) ,
363363 dark: . init( uiColor: . tertiarySystemBackground) ) )
You can’t perform that action at this time.
0 commit comments