diff --git a/Sources/PulseUI/Features/Console/Views/ConsoleListDisplaySettings.swift b/Sources/PulseUI/Features/Console/Views/ConsoleListDisplaySettings.swift index 6598bb371..9ccafe0db 100644 --- a/Sources/PulseUI/Features/Console/Views/ConsoleListDisplaySettings.swift +++ b/Sources/PulseUI/Features/Console/Views/ConsoleListDisplaySettings.swift @@ -87,7 +87,7 @@ public struct ConsoleListDisplaySettings: Hashable, Codable { /// The line limit for messages in the console. By default, `1`. public var lineLimit: Int - /// Fields to display horizonally below the main text label with a separator. + /// Fields to display horizontally below the main text label with a separator. public var fields: [TaskField] /// Additional fields to display below the main list. diff --git a/Sources/PulseUI/Features/Console/Views/ConsoleTaskCell.swift b/Sources/PulseUI/Features/Console/Views/ConsoleTaskCell.swift index 5eea802a6..556a6d6da 100644 --- a/Sources/PulseUI/Features/Console/Views/ConsoleTaskCell.swift +++ b/Sources/PulseUI/Features/Console/Views/ConsoleTaskCell.swift @@ -31,10 +31,10 @@ package struct ConsoleTaskCell: View { VStack(alignment: .leading, spacing: 4) { header makeContent(settings: settings.listDisplayOptions.content) - .higlighted(highlightedArea == .content) + .highlighted(highlightedArea == .content) #if os(iOS) || os(watchOS) makeFooter(settings: settings.listDisplayOptions.footer) - .higlighted(highlightedArea == .footer) + .highlighted(highlightedArea == .footer) #endif } } @@ -54,7 +54,7 @@ package struct ConsoleTaskCell: View { if task.isMocked { MockBadgeView() } - info.higlighted(highlightedArea == .header) + info.highlighted(highlightedArea == .header) Spacer() if task.isPinned { @@ -178,7 +178,7 @@ import RiftSupport private extension View { @ViewBuilder - func higlighted(_ isHighlighted: Bool) -> some View { + func highlighted(_ isHighlighted: Bool) -> some View { if isHighlighted { self.highlighted() } else { @@ -188,7 +188,7 @@ private extension View { } #else private extension View { - func higlighted(_ isHighlighted: Bool) -> some View { + func highlighted(_ isHighlighted: Bool) -> some View { self } }