Skip to content

Commit 869e41e

Browse files
committed
Fix typos
1 parent 4aa9738 commit 869e41e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Sources/PulseUI/Features/Console/Views/ConsoleListDisplaySettings.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public struct ConsoleListDisplaySettings: Hashable, Codable {
8787
/// The line limit for messages in the console. By default, `1`.
8888
public var lineLimit: Int
8989

90-
/// Fields to display horizonally below the main text label with a separator.
90+
/// Fields to display horizontally below the main text label with a separator.
9191
public var fields: [TaskField]
9292

9393
/// Additional fields to display below the main list.

Sources/PulseUI/Features/Console/Views/ConsoleTaskCell.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ package struct ConsoleTaskCell: View {
3131
VStack(alignment: .leading, spacing: 4) {
3232
header
3333
makeContent(settings: settings.listDisplayOptions.content)
34-
.higlighted(highlightedArea == .content)
34+
.highlighted(highlightedArea == .content)
3535
#if os(iOS) || os(watchOS)
3636
makeFooter(settings: settings.listDisplayOptions.footer)
37-
.higlighted(highlightedArea == .footer)
37+
.highlighted(highlightedArea == .footer)
3838
#endif
3939
}
4040
}
@@ -54,7 +54,7 @@ package struct ConsoleTaskCell: View {
5454
if task.isMocked {
5555
MockBadgeView()
5656
}
57-
info.higlighted(highlightedArea == .header)
57+
info.highlighted(highlightedArea == .header)
5858

5959
Spacer()
6060
if task.isPinned {
@@ -178,7 +178,7 @@ import RiftSupport
178178

179179
private extension View {
180180
@ViewBuilder
181-
func higlighted(_ isHighlighted: Bool) -> some View {
181+
func highlighted(_ isHighlighted: Bool) -> some View {
182182
if isHighlighted {
183183
self.highlighted()
184184
} else {
@@ -188,7 +188,7 @@ private extension View {
188188
}
189189
#else
190190
private extension View {
191-
func higlighted(_ isHighlighted: Bool) -> some View {
191+
func highlighted(_ isHighlighted: Bool) -> some View {
192192
self
193193
}
194194
}

0 commit comments

Comments
 (0)