claude usage
This commit is contained in:
@@ -292,16 +292,7 @@ private struct RateLimits: View {
|
|||||||
HStack(alignment: .firstTextBaseline, spacing: 10) {
|
HStack(alignment: .firstTextBaseline, spacing: 10) {
|
||||||
Text(vendor).font(Fonts.font(13, weight: 700)).foregroundStyle(Palette.text)
|
Text(vendor).font(Fonts.font(13, weight: 700)).foregroundStyle(Palette.text)
|
||||||
Text(statusText).font(Fonts.font(11, weight: 700)).foregroundStyle(tone)
|
Text(statusText).font(Fonts.font(11, weight: 700)).foregroundStyle(tone)
|
||||||
if let type = info["rateLimitType"] {
|
|
||||||
Text(jsString(type))
|
|
||||||
}
|
}
|
||||||
Spacer(minLength: 0)
|
|
||||||
if let resets = number(info["resetsAt"]) {
|
|
||||||
Text("resets \(resetText(resets))")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.font(Fonts.font(11))
|
|
||||||
.foregroundStyle(Palette.muted)
|
|
||||||
.padding(.top, 12)
|
.padding(.top, 12)
|
||||||
.gridCellColumns(5)
|
.gridCellColumns(5)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user