Fix typos

This commit is contained in:
kean
2024-10-10 21:15:05 -04:00
parent 4aa9738579
commit 869e41ebcd
2 changed files with 6 additions and 6 deletions
@@ -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.
@@ -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
}
}