feat: better visualisation in the fill bar for context
This commit is contained in:
@@ -108,7 +108,7 @@ struct StatusBarView: View {
|
|||||||
|
|
||||||
private func contextFillColor(for ratio: Double) -> Color {
|
private func contextFillColor(for ratio: Double) -> Color {
|
||||||
if ratio >= 0.9 { return .red }
|
if ratio >= 0.9 { return .red }
|
||||||
if ratio >= 0.7 { return .orange }
|
if ratio >= 0.7 { return .yellow }
|
||||||
return .blue
|
return .blue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user