We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2bcc87 commit 424fbd9Copy full SHA for 424fbd9
1 file changed
Sources/SettingSearchResult.swift
@@ -23,7 +23,7 @@ public struct SettingSearchResult {
23
}
24
25
public struct SettingSearchResultView: View {
26
- @Environment(\.settingSecondaryBackgroundColor) var settingSecondaryBackgroundColor
+ @Environment(\.settingBackgroundColor) var settingBackgroundColor
27
28
public var searchResult: SettingSearchResult
29
public var spacing = CGFloat(20)
@@ -52,7 +52,7 @@ public struct SettingSearchResultView: View {
52
.frame(maxWidth: .infinity, alignment: .leading)
53
.padding(.vertical, verticalPadding)
54
55
- .background(backgroundColor ?? settingSecondaryBackgroundColor)
+ .background(backgroundColor ?? settingBackgroundColor)
56
57
58
@ViewBuilder func content(section: SettingSearchResult.Section) -> some View {
0 commit comments