Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Sources/CodexBar/LimitRowView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import CodexBarCore
import SwiftUI

struct LimitRowView: View {
private static let aheadOfPaceText = "🔥 Ahead of pace"
private static let aheadOfPaceAccessibilityLabel = "Ahead of pace"

let limit: UsageLimit
let now: Date
let severity: Severity
Expand Down Expand Up @@ -30,9 +33,10 @@ struct LimitRowView: View {
}

if UsageWindow.isAheadOfPace(for: limit, now: now) {
Text("Ahead of pace")
Text(Self.aheadOfPaceText)
.font(.caption)
.foregroundStyle(.secondary)
.accessibilityLabel(Self.aheadOfPaceAccessibilityLabel)
}
}
}
Expand Down