Skip to content

Commit 5b8a052

Browse files
committed
Fixed SwiftLint errors
1 parent b46670d commit 5b8a052

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/CodeEditSourceEditor/Find/PanelView/FindMethodPicker.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct FindMethodPicker: NSViewRepresentable {
3939

4040
private func createIconLabel() -> NSImageView {
4141
let imageView = NSImageView()
42-
let symbolName = method == .contains
42+
let symbolName = method == .contains
4343
? "line.horizontal.3.decrease.circle"
4444
: "line.horizontal.3.decrease.circle.fill"
4545
imageView.image = NSImage(systemSymbolName: symbolName, accessibilityDescription: nil)?
@@ -180,12 +180,12 @@ struct FindMethodPicker: NSViewRepresentable {
180180
// Update icon and chevron colors
181181
if condensed {
182182
if let iconLabel = container.subviews[1] as? NSImageView {
183-
let symbolName = method == .contains
183+
let symbolName = method == .contains
184184
? "line.horizontal.3.decrease.circle"
185185
: "line.horizontal.3.decrease.circle.fill"
186186
iconLabel.image = NSImage(systemSymbolName: symbolName, accessibilityDescription: nil)?
187187
.withSymbolConfiguration(.init(pointSize: 14, weight: .regular))
188-
iconLabel.contentTintColor = method == .contains
188+
iconLabel.contentTintColor = method == .contains
189189
? (activeState == .inactive ? .tertiaryLabelColor : .labelColor)
190190
: (activeState == .inactive ? .tertiaryLabelColor : .controlAccentColor)
191191
}

0 commit comments

Comments
 (0)