mirror of
https://github.com/kean/Pulse.git
synced 2026-04-30 21:02:27 +00:00
Fix typos
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user