Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Oct 11, 2024
1 parent 4aa9738 commit 869e41e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 5 additions & 5 deletions Sources/PulseUI/Features/Console/Views/ConsoleTaskCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand All @@ -54,7 +54,7 @@ package struct ConsoleTaskCell: View {
if task.isMocked {
MockBadgeView()
}
info.higlighted(highlightedArea == .header)
info.highlighted(highlightedArea == .header)

Spacer()
if task.isPinned {
Expand Down Expand Up @@ -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 {
Expand All @@ -188,7 +188,7 @@ private extension View {
}
#else
private extension View {
func higlighted(_ isHighlighted: Bool) -> some View {
func highlighted(_ isHighlighted: Bool) -> some View {
self
}
}
Expand Down

0 comments on commit 869e41e

Please sign in to comment.